|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kde.qt.QMimeSourceFactory
org.kde.koala.KMimeSourceFactory
public class KMimeSourceFactory
An extension to QMimeSourceFactory that uses KIconLoader to find images. Normally you don't have to instantiate this class at all, KApplication does that for you automagically and sets QMimeSourceFactory.setDefaultFactory().
Constructor Summary | |
---|---|
|
KMimeSourceFactory()
|
protected |
KMimeSourceFactory(java.lang.Class dummy)
|
|
KMimeSourceFactory(KIconLoader loader)
Constructor. |
Method Summary | |
---|---|
void |
dispose()
Delete the wrapped C++ instance ahead of finalize() |
protected void |
finalize()
Deletes the wrapped C++ instance |
boolean |
isDisposed()
Has the wrapped C++ instance been deleted? |
java.lang.String |
makeAbsolute(java.lang.String abs_or_rel_name,
java.lang.String context)
This function is maps an absolute or relative name for a resource to the absolute one. |
Methods inherited from class org.kde.qt.QMimeSourceFactory |
---|
addFactory, addFilePath, data, data, defaultFactory, filePath, removeFactory, setData, setDefaultFactory, setExtensionType, setFilePath, setImage, setPixmap, setText, takeDefaultFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected KMimeSourceFactory(java.lang.Class dummy)
public KMimeSourceFactory(KIconLoader loader)
loader
- is the iconloader used to find images.public KMimeSourceFactory()
Method Detail |
---|
public java.lang.String makeAbsolute(java.lang.String abs_or_rel_name, java.lang.String context)
category
name before the icon
name, in the style
of \"", "
", ...
makeAbsolute
in class org.kde.qt.QMimeSourceFactory
abs_or_rel_name
- is the absolute or relative pathname.context
- is the path of the context object for the queried resource. Almost always empty.protected void finalize() throws java.lang.InternalError
finalize
in class org.kde.qt.QMimeSourceFactory
java.lang.InternalError
public void dispose()
dispose
in class org.kde.qt.QMimeSourceFactory
public boolean isDisposed()
isDisposed
in class org.kde.qt.QMimeSourceFactory
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |