class KGlobal

Access the KDE global objects. More...

Definition#include <kglobal.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Static Methods

Public Members


Detailed Description

Access the KDE global objects.

KInstanceinstance ()

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).

KStandardDirsdirs ()

dirs

[static]

Retrieve the application standard dirs object.

KConfigconfig ()

config

[static]

Retrieve the general config object.

KIconLoadericonLoader ()

iconLoader

[static]

Retrieve an iconloader object.

KLocalelocale ()

locale

[static]

KCharsetscharsets ()

charsets

[static]

const QStringstaticQString (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 QStringstaticQString (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