#include <KoGlobal.h>
Graphe de collaboration de KoGlobal:
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 KoGlobal * | self () |
Attributs privés | |
int | m_pointSize |
LanguageMap | m_langMap |
KConfig * | m_kofficeConfig |
int | m_dpiX |
int | m_dpiY |
Attributs privés statiques | |
static KoGlobal * | s_global |
Amis | |
class | this_is_a_singleton |
Définition à la ligne 33 du fichier KoGlobal.h.
typedef QMap<QString, QString> KoGlobal::LanguageMap [private] |
Définition à la ligne 96 du fichier KoGlobal.h.
KoGlobal::~KoGlobal | ( | ) |
KoGlobal::KoGlobal | ( | ) | [private] |
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] |
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é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] |
QFont KoGlobal::_defaultFont | ( | ) | [private] |
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] |
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 :
friend class this_is_a_singleton [friend] |
Définition à la ligne 106 du fichier KoGlobal.h.
int KoGlobal::m_pointSize [private] |
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] |
int KoGlobal::m_dpiX [private] |
int KoGlobal::m_dpiY [private] |
KoGlobal * KoGlobal::s_global [static, private] |