• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KDECore

  • sources
  • kde-4.14
  • kdelibs
  • kdecore
  • localization
Macros | Functions
klocale_kde.cpp File Reference
#include "klocale_p.h"
#include "config-localization.h"
#include <math.h>
#include <locale.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 <QtCore/QStringList>
#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.

Macros

#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 _round (QString &str, int precision)
 
static bool isUnicodeNonCharacter (uint ucs4)
 
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)
 

Macro Definition 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 1471 of file klocale_kde.cpp.

static void _round ( QString &  str,
int  precision 
)
static

Definition at line 1515 of file klocale_kde.cpp.

static bool isUnicodeNonCharacter ( uint  ucs4)
inlinestatic

Definition at line 2707 of file klocale_kde.cpp.

QMutex* kLocaleMutex ( )

Definition at line 3319 of file klocale_kde.cpp.

QDebug operator<< ( QDebug  debug,
const KCatalogName &  cn 
)

Definition at line 101 of file klocale_kde.cpp.

static void put_it_in ( QChar *  buffer,
int &  index,
const QString &  s 
)
inlinestatic

Definition at line 1294 of file klocale_kde.cpp.

static void put_it_in ( QChar *  buffer,
int &  index,
int  number 
)
inlinestatic

Definition at line 1301 of file klocale_kde.cpp.

static int readInt ( const QString &  str,
int &  pos 
)
static

helper function to read integers

Parameters
str
posthe 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 2079 of file klocale_kde.cpp.

static void stripAmPmFormat ( QString &  inout)
static

Definition at line 2169 of file klocale_kde.cpp.

static void stripStringAndPreceedingSeparator ( QString &  inout,
const QLatin1String &  strip2char 
)
static

Definition at line 2126 of file klocale_kde.cpp.

static void stripStringAndSucceedingSeparator ( QString &  inout,
const QLatin1String &  strip2char 
)
static

Definition at line 2153 of file klocale_kde.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDECore

Skip menu "KDECore"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal