org.kde.koala
public class KInstance extends Object implements QtSupport, KInstanceInterface
UNKNOWN: Access to KDE global objects for use in shared libraries.
Constructor Summary | |
---|---|
protected | KInstance(Class dummy) |
KInstance(String instanceName)
Constructor. | |
KInstance(KAboutData aboutData)
Constructor.
| |
KInstance(KInstanceInterface src) |
Method Summary | |
---|---|
KAboutData | aboutData()
Returns the about data of this instance
Warning, can be null |
KConfig | config()
Returns the general config object ("appnamerc"). |
KStandardDirs | dirs()
Returns the application standard dirs object. |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | finalize() Deletes the wrapped C++ instance |
KIconLoader | iconLoader()
Returns an iconloader object. |
String | instanceName()
Returns the name of the instance |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
KMimeSourceFactory | mimeSourceFactory()
Returns the KMimeSourceFactory of the instance.
|
void | newIconLoader()
Re-allocate the global iconloader. |
protected void | setConfigName(String name)
Set name of default config file. |
KSharedConfig | sharedConfig()
Returns the general config object ("appnamerc"). |
Parameters: instanceName the name of the instance
UNKNOWN: Constructor.
Parameters: aboutData data about this instance (see KAboutData)
UNKNOWN: Constructor.
Returns: the about data of the instance, or 0 if it has not been set yet
UNKNOWN: Returns the about data of this instance Warning, can be 0L
Returns: the KConfig object for the instance.
UNKNOWN: Returns the general config object ("appnamerc").
Returns: The KStandardDirs of the application.
UNKNOWN: Returns the application standard dirs object.
Returns: the iconloader object.
UNKNOWN: Returns an iconloader object.
Returns: the instance name, can be null if the KInstance has been created with a null name
UNKNOWN: Returns the name of the instance
Returns: the KMimeSourceFactory set as default for this application.
UNKNOWN: Returns the KMimeSourceFactory of the instance.
UNKNOWN: Re-allocate the global iconloader.
Parameters: name the name of the default config file
UNKNOWN: Set name of default config file.
Returns: the KConfig object for the instance.
UNKNOWN: Returns the general config object ("appnamerc").