|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.kde.koala.KInstance
public class KInstance
Access to KDE global objects for use in shared libraries. In practical terms, this class is used in KDE components. This allows components to store things that normally would be accessed by KGlobal.
| Constructor Summary | |
|---|---|
protected |
KInstance(java.lang.Class dummy)
|
|
KInstance(KAboutData aboutData)
Constructor. |
|
KInstance(KInstanceInterface src)
|
|
KInstance(java.lang.String instanceName)
Constructor. |
| 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. |
java.lang.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(java.lang.String name)
Set name of default config file. |
KSharedConfig |
sharedConfig()
Returns the general config object ("appnamerc"). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected KInstance(java.lang.Class dummy)
public KInstance(java.lang.String instanceName)
instanceName - the name of the instancepublic KInstance(KAboutData aboutData)
aboutData - data about this instance (see KAboutData)public KInstance(KInstanceInterface src)
| Method Detail |
|---|
public KStandardDirs dirs()
dirs in interface KInstanceInterfacepublic KConfig config()
config in interface KInstanceInterfacepublic KSharedConfig sharedConfig()
sharedConfig in interface KInstanceInterfacepublic KIconLoader iconLoader()
iconLoader in interface KInstanceInterfacepublic void newIconLoader()
newIconLoader in interface KInstanceInterfacepublic KAboutData aboutData()
aboutData in interface KInstanceInterfacepublic java.lang.String instanceName()
instanceName in interface KInstanceInterfacepublic KMimeSourceFactory mimeSourceFactory()
mimeSourceFactory in interface KInstanceInterfaceprotected void setConfigName(java.lang.String name)
name - the name of the default config file
protected void finalize()
throws java.lang.InternalError
finalize in class java.lang.Objectjava.lang.InternalErrorpublic void dispose()
public boolean isDisposed()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||