Référence de la classe KoGlobal

#include <KoGlobal.h>

Graphe de collaboration de KoGlobal:

[légende]
Liste de tous les membres

Fonctions membres publiques

 ~KoGlobal ()

Fonctions membres publiques statiques

static void initialize ()
 For KoApplication.
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)
 For a given language display name, return its tag.
static QString languageFromTag (const QString &_lang)
 For a given language tag, return its display name.

Types privés

typedef QMap< QString, QString > LanguageMap

Fonctions membres privées

 KoGlobal ()
QFont _defaultFont ()
QStringList _listOfLanguages ()
QStringList _listOfLanguageTags ()
KConfig * _kofficeConfig ()
void createListOfLanguages ()

Fonctions membres privées statiques

static KoGlobalself ()

Attributs privés

int m_pointSize
LanguageMap m_langMap
KConfig * m_kofficeConfig
int m_dpiX
int m_dpiY

Attributs privés statiques

static KoGlobals_global

Amis

class this_is_a_singleton

Description détaillée

Définition à la ligne 33 du fichier KoGlobal.h.


Documentation des définition de type membres

typedef QMap<QString, QString> KoGlobal::LanguageMap [private]

Définition à la ligne 96 du fichier KoGlobal.h.


Documentation des contructeurs et destructeur

KoGlobal::~KoGlobal (  ) 

Définition à la ligne 77 du fichier KoGlobal.cpp.

Références m_kofficeConfig.

KoGlobal::KoGlobal (  )  [private]

Définition à la ligne 53 du fichier KoGlobal.cpp.

Références m_dpiX, et m_dpiY.


Documentation des fonctions membres

static void KoGlobal::initialize (  )  [inline, static]

For KoApplication.

Définition à la ligne 37 du fichier KoGlobal.h.

Référencé par KoApplication::KoApplication().

Voici le graphe d'appel pour cette fonction :

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

Définition à la ligne 46 du fichier KoGlobal.h.

Référencé par KoStylePreview::KoStylePreview().

Voici le graphe d'appel pour cette fonction :

static KConfig* KoGlobal::kofficeConfig (  )  [inline, static]

Renvoie:
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

Définition à la ligne 56 du fichier KoGlobal.h.

Référencé par KoTimeVariable::formatStr(), KoDateVariable::formatStr(), KoAutoFormat::loadListOfWordCompletion(), KoAutoFormat::readConfig(), KoDocumentInfoDlg::saveAuthorData(), et KoAutoFormat::saveConfig().

Voici le graphe d'appel pour cette fonction :

static int KoGlobal::dpiX (  )  [inline, static]

Définition à la ligne 60 du fichier KoGlobal.h.

Référencé par KoDocument::generatePreview(), KoZoomHandler::KoZoomHandler(), KoTextFormat::offsetX(), KPlato::Part::paintContent(), et KoPagePreview::updateZoomedSize().

Voici le graphe d'appel pour cette fonction :

static int KoGlobal::dpiY (  )  [inline, static]

Définition à la ligne 63 du fichier KoGlobal.h.

Référencé par KoLineWidthAction::createMenu(), KoDocument::generatePreview(), KoTextFormat::height(), KoTextFormat::KoTextFormat(), KoZoomHandler::KoZoomHandler(), KoTextFormat::offsetY(), KPlato::Part::paintContent(), et KoPagePreview::updateZoomedSize().

Voici le graphe d'appel pour cette fonction :

void KoGlobal::setDPI ( int  x,
int  y 
) [static]

Définition à la ligne 200 du fichier KoGlobal.cpp.

Références m_dpiX, et m_dpiY.

Référencé par KoApplication::start().

Voici le graphe d'appel pour cette fonction :

static QStringList KoGlobal::listOfLanguages (  )  [inline, static]

Return the list of available languages, in their displayable form (translated names)

Définition à la ligne 71 du fichier KoGlobal.h.

Référencé par KoFormatDia::KoFormatDia(), et KoLanguageTab::KoLanguageTab().

Voici le graphe d'appel pour cette fonction :

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"

Définition à la ligne 76 du fichier KoGlobal.h.

Référencé par KoFormatDia::ctxOptions(), et KoLanguageTab::KoLanguageTab().

Voici le graphe d'appel pour cette fonction :

QString KoGlobal::tagOfLanguage ( const QString &  _lang  )  [static]

For a given language display name, return its tag.

Définition à la ligne 170 du fichier KoGlobal.cpp.

Références m_langMap.

Référencé par KoLanguageTab::getLanguage().

Voici le graphe d'appel pour cette fonction :

QString KoGlobal::languageFromTag ( const QString &  _lang  )  [static]

For a given language tag, return its display name.

Définition à la ligne 179 du fichier KoGlobal.cpp.

Références m_langMap.

Référencé par KoFormatDia::KoFormatDia(), et KoLanguageTab::setLanguage().

Voici le graphe d'appel pour cette fonction :

KoGlobal * KoGlobal::self (  )  [static, private]

Définition à la ligne 46 du fichier KoGlobal.cpp.

Références s_global, et sdg.

QFont KoGlobal::_defaultFont (  )  [private]

Définition à la ligne 82 du fichier KoGlobal.cpp.

Références m_pointSize.

QStringList KoGlobal::_listOfLanguages (  )  [private]

Définition à la ligne 106 du fichier KoGlobal.cpp.

Références createListOfLanguages(), et m_langMap.

Voici le graphe d'appel pour cette fonction :

QStringList KoGlobal::_listOfLanguageTags (  )  [private]

Définition à la ligne 99 du fichier KoGlobal.cpp.

Références createListOfLanguages(), et m_langMap.

Voici le graphe d'appel pour cette fonction :

KConfig * KoGlobal::_kofficeConfig (  )  [private]

Définition à la ligne 192 du fichier KoGlobal.cpp.

Références m_kofficeConfig.

void KoGlobal::createListOfLanguages (  )  [private]

Définition à la ligne 113 du fichier KoGlobal.cpp.

Références m_langMap, et KoPageFormat::name().

Référencé par _listOfLanguages(), et _listOfLanguageTags().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :


Documentation des fonctions amies et associées

friend class this_is_a_singleton [friend]

Définition à la ligne 106 du fichier KoGlobal.h.


Documentation des données membres

int KoGlobal::m_pointSize [private]

Définition à la ligne 95 du fichier KoGlobal.h.

Référencé par _defaultFont().

LanguageMap KoGlobal::m_langMap [private]

Définition à la ligne 97 du fichier KoGlobal.h.

Référencé par _listOfLanguages(), _listOfLanguageTags(), createListOfLanguages(), languageFromTag(), et tagOfLanguage().

KConfig* KoGlobal::m_kofficeConfig [private]

Définition à la ligne 98 du fichier KoGlobal.h.

Référencé par _kofficeConfig(), et ~KoGlobal().

int KoGlobal::m_dpiX [private]

Définition à la ligne 99 du fichier KoGlobal.h.

Référencé par KoGlobal(), et setDPI().

int KoGlobal::m_dpiY [private]

Définition à la ligne 100 du fichier KoGlobal.h.

Référencé par KoGlobal(), et setDPI().

KoGlobal * KoGlobal::s_global [static, private]

Définition à la ligne 105 du fichier KoGlobal.h.

Référencé par self().


La documentation de cette classe a été générée à partir des fichiers suivants :
Généré le Wed Nov 22 23:45:50 2006 pour KPlato par  doxygen 1.5.1-p1