|
|
Access the KDE global objects.
KInstance * instance ()
| instance |
[static]
Retrieve the global instance. There is always at least one instance of a component in one application (in most cases the application itself).
KStandardDirs * dirs ()
| dirs |
[static]
Retrieve the application standard dirs object.
KConfig * config ()
| config |
[static]
Retrieve the general config object.
KIconLoader * iconLoader ()
| iconLoader |
[static]
Retrieve an iconloader object.
KLocale * locale ()
| locale |
[static]
KCharsets * charsets ()
| charsets |
[static]
const QString & staticQString (const char *)
| staticQString |
[static]
Create a static QString
To be used inside functions(!) like: static const QString &myString = KGlobal::staticQString("myText");
!!! Do _NOT_ use: !!! static QString myString = KGlobal::staticQString("myText"); This creates a static object (instead of a static reference) and as you know static objects are EVIL.
const QString & staticQString (const QString &)
| staticQString |
[static]
Create a static QString
To be used inside functions(!) like: static const QString &myString = KGlobal::staticQString(i18n("My Text"));
!!! Do _NOT_ use: !!! static QString myString = KGlobal::staticQString(i18n("myText")); This creates a static object (instead of a static reference) and as you know static objects are EVIL.
void registerStaticDeleter (KStaticDeleterBase *)
| registerStaticDeleter |
[static]
void unregisterStaticDeleter (KStaticDeleterBase *)
| unregisterStaticDeleter |
[static]
void deleteStaticDeleters ()
| deleteStaticDeleters |
[static]
static KStringDict * _stringDict | _stringDict |
static KInstance * _instance | _instance |
static KLocale * _locale | _locale |
static KCharsets * _charsets | _charsets |
static KStaticDeleterList * _staticDeleters | _staticDeleters |
static KInstance * _activeInstance | _activeInstance |