lib
KoGlobal Class Reference
List of all members.Detailed Description
Definition at line 31 of file KoGlobal.h.
Public Member Functions | |
~KoGlobal () | |
Static Public Member Functions | |
static void | initialize () |
static QFont | defaultFont () |
static KConfig * | kofficeConfig () |
static int | dpiX () |
static int | dpiY () |
static void | setDPI (int x, int y) |
static QStringList | listOfLanguages () |
static QStringList | listTagOfLanguages () |
static QString | tagOfLanguage (const QString &_lang) |
static QString | languageFromTag (const QString &_lang) |
Friends | |
class | this_is_a_singleton |
Member Function Documentation
static QFont KoGlobal::defaultFont | ( | ) | [inline, static] |
Return the default font for KOffice programs.
This is (currently) the same as the KDE-global default font, except that it is guaranteed to have a point size set, never a pixel size (see QFont).
Definition at line 44 of file KoGlobal.h.
static void KoGlobal::initialize | ( | ) | [inline, static] |
static KConfig* KoGlobal::kofficeConfig | ( | ) | [inline, static] |
- Returns:
- the global KConfig object around kofficerc. kofficerc is used for KOffice-wide settings, from totally unrelated classes, so this is the centralization of the KConfig object so that the file is parsed only once
Definition at line 54 of file KoGlobal.h.
QString KoGlobal::languageFromTag | ( | const QString & | _lang | ) | [static] |
static QStringList KoGlobal::listOfLanguages | ( | ) | [inline, static] |
Return the list of available languages, in their displayable form (translated names).
Definition at line 69 of file KoGlobal.h.
static QStringList KoGlobal::listTagOfLanguages | ( | ) | [inline, static] |
Return the list of available languages, in their internal form e.g.
"fr" or "en_US", here called "tag"
Definition at line 74 of file KoGlobal.h.
QString KoGlobal::tagOfLanguage | ( | const QString & | _lang | ) | [static] |
The documentation for this class was generated from the following files: