#include "klocale_p.h"#include <config.h>#include <math.h>#include <QtCore/QTextCodec>#include <QtCore/QFile>#include <QtGui/QPrinter>#include <QtCore/QFileInfo>#include <QtCore/QRegExp>#include <QtCore/QLocale>#include <QtCore/QHash>#include <QtCore/QMutexLocker>#include "kcatalog_p.h"#include "kglobal.h"#include "kstandarddirs.h"#include "kconfig.h"#include "kcomponentdata.h"#include "kdebug.h"#include "kdatetime.h"#include "kcalendarsystem.h"#include "kcurrencycode.h"#include "klocalizedstring.h"#include "kconfiggroup.h"#include "kcatalogname_p.h"#include "common_helpers_p.h"#include "kdayperiod_p.h"
Include dependency graph for klocale_kde.cpp:

Go to the source code of this file.
Defines | |
| #define | CACHE_BYTE_FMT(ctxt_text) |
| #define | read3ConfigBoolEntry(key, default, save) |
| #define | readConfigEntry(key, default, save) |
| #define | readConfigNumEntry(key, default, save, type) |
Functions | |
| static void | _inc_by_one (QString &str, int position) |
| static void | _insertSeparator (QString &str, const QString &separator, const QString &decimalSymbol) |
| static void | _round (QString &str, int precision) |
| QMutex * | kLocaleMutex () |
| QDebug | operator<< (QDebug debug, const KCatalogName &cn) |
| static void | put_it_in (QChar *buffer, int &index, const QString &s) |
| static void | put_it_in (QChar *buffer, int &index, int number) |
| static int | readInt (const QString &str, int &pos) |
| static void | stripAmPmFormat (QString &inout) |
| static void | stripStringAndPreceedingSeparator (QString &inout, const QLatin1String &strip2char) |
| static void | stripStringAndSucceedingSeparator (QString &inout, const QLatin1String &strip2char) |
Define Documentation
| #define CACHE_BYTE_FMT | ( | ctxt_text | ) |
Value:
translateRawFrom(0, ctxt_text, 0, 0, 0, &s); \
binaryUnits.append(s);
| #define read3ConfigBoolEntry | ( | key, | |
| default, | |||
| save | |||
| ) |
Value:
save = entry.readEntry(key, default); \
save = lang.readEntry(key, save); \
save = cg.readEntry(key, save);
| #define readConfigEntry | ( | key, | |
| default, | |||
| save | |||
| ) |
Value:
save = entry.readEntry(key, default); \
save = cg.readEntry(key, save);
| #define readConfigNumEntry | ( | key, | |
| default, | |||
| save, | |||
| type | |||
| ) |
Value:
save = (type)entry.readEntry(key, int(default)); \ save = (type)cg.readEntry(key, int(save));
Function Documentation
| static void _inc_by_one | ( | QString & | str, |
| int | position | ||
| ) | [static] |
Definition at line 1375 of file klocale_kde.cpp.
| static void _insertSeparator | ( | QString & | str, |
| const QString & | separator, | ||
| const QString & | decimalSymbol | ||
| ) | [static] |
Definition at line 1286 of file klocale_kde.cpp.
| static void _round | ( | QString & | str, |
| int | precision | ||
| ) | [static] |
Definition at line 1419 of file klocale_kde.cpp.
| QMutex* kLocaleMutex | ( | ) |
Definition at line 2991 of file klocale_kde.cpp.
| QDebug operator<< | ( | QDebug | debug, |
| const KCatalogName & | cn | ||
| ) |
Definition at line 99 of file klocale_kde.cpp.
| static void put_it_in | ( | QChar * | buffer, |
| int & | index, | ||
| const QString & | s | ||
| ) | [inline, static] |
Definition at line 1272 of file klocale_kde.cpp.
| static void put_it_in | ( | QChar * | buffer, |
| int & | index, | ||
| int | number | ||
| ) | [inline, static] |
Definition at line 1279 of file klocale_kde.cpp.
| static int readInt | ( | const QString & | str, |
| int & | pos | ||
| ) | [static] |
helper function to read integers
- Parameters:
-
str pos the position to start at. It will be updated when we parse it.
- Returns:
- the integer read in the string, or -1 if no string
Definition at line 1938 of file klocale_kde.cpp.
| static void stripAmPmFormat | ( | QString & | inout | ) | [static] |
Definition at line 2028 of file klocale_kde.cpp.
| static void stripStringAndPreceedingSeparator | ( | QString & | inout, |
| const QLatin1String & | strip2char | ||
| ) | [static] |
Definition at line 1985 of file klocale_kde.cpp.
| static void stripStringAndSucceedingSeparator | ( | QString & | inout, |
| const QLatin1String & | strip2char | ||
| ) | [static] |
Definition at line 2012 of file klocale_kde.cpp.
KDE 4.6 API Reference