#include <kinstance.h>
Inheritance diagram for KInstance:

Public Methods | |
| KInstance (const QCString &instanceName) | |
| KInstance (const KAboutData *aboutData) | |
| virtual | ~KInstance () |
| KStandardDirs * | dirs () const |
| KConfig * | config () const |
| KIconLoader * | iconLoader () const |
| void | newIconLoader () const |
| const KAboutData * | aboutData () const |
| QCString | instanceName () const |
| KMimeSourceFactory * | mimeSourceFactory () const |
Protected Methods | |
| KInstance (const KInstance &) | |
| void | setConfigName (const QString &name) |
Definition at line 42 of file kinstance.h.
|
|
Constructor.
|
|
|
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).
|
|
|
Destructor. |
|
|
Copy Constructor is not allowed |
|
|
Returns the about data of this instance Warning, can be 0L
|
|
|
Returns the general config object ("appnamerc").
|
|
|
Returns the application standard dirs object.
|
|
|
Returns an iconloader object.
|
|
|
Returns the name of the instance
|
|
|
Returns the KMimeSourceFactory of the instance. Mainly added for API completeness and future extensibility.
|
|
|
Re-allocate the global iconloader. |
|
|
Set name of default config file.
|
1.2.18