|
|
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
Parameters:
instanceName | the name of the instance |
|
Constructor
When building a KInstance that is not your KApplication, make sure that the KAboutData and the KInstance have the same life time. You have to destroy both, since the instance doesn't own the about data. Don't build a KAboutData on the stack in this case ! Building a KAboutData on the stack is only ok for usage with KCmdLineArgs and KApplication (not destroyed until the app exits).
Parameters:
aboutData | data about this instance (see KAboutData) |
|
[virtual]
Destructor.
KStandardDirs * |
[const]
Retrieve the application standard dirs object.
KConfig * |
[const]
Retrieve the general config object.
KIconLoader * |
[const]
Retrieve an iconloader object.
void |
[const]
Re-allocate the global iconloader.
KCharsets * |
[const]
const KAboutData * |
[const]
Returns: the about data of this instance Warning, can be 0L
QCString |
[const]
Returns: the instance name
KMimeSourceFactory* |
[const]
Mainly added for API completeness and future extensibility.
Returns: the KMimeSourceFactory set as default for this application.
|
[protected: ]
Copy Constructor is not allowed