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

KDECore

klocale.cpp File Reference

#include "klocale.h"
#include <config.h>
#include <QtCore/QTextCodec>
#include <QtCore/QFile>
#include <QtGui/QPrinter>
#include <QtCore/QFileInfo>
#include <QtCore/QRegExp>
#include <QtCore/QLocale>
#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 "klocalizedstring.h"
#include "ktranslit_p.h"
#include "kconfiggroup.h"
#include "kcatalogname_p.h"

Include dependency graph for klocale.cpp:

Go to the source code of this file.


Defines

#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)
static void getLanguagesFromVariable (QStringList &list, const char *variable)
QDebug operator<< (QDebug debug, const KCatalogName &cn)
static void put_it_in (QChar *buffer, int &index, int number)
static void put_it_in (QChar *buffer, int &index, const QString &s)
static int readInt (const QString &str, int &pos)

Variables

static const char * maincatalog = 0

Define Documentation

#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 1022 of file klocale.cpp.

static void _insertSeparator ( QString &  str,
const QString &  separator,
const QString &  decimalSymbol 
) [static]

Definition at line 936 of file klocale.cpp.

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

Definition at line 1068 of file klocale.cpp.

static void getLanguagesFromVariable ( QStringList &  list,
const char *  variable 
) [inline, static]

Definition at line 281 of file klocale.cpp.

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

Definition at line 65 of file klocale.cpp.

static void put_it_in ( QChar *  buffer,
int &  index,
int  number 
) [inline, static]

Definition at line 929 of file klocale.cpp.

static void put_it_in ( QChar *  buffer,
int &  index,
const QString &  s 
) [inline, static]

Definition at line 923 of file klocale.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 1493 of file klocale.cpp.


Variable Documentation

const char* maincatalog = 0 [static]

Definition at line 63 of file klocale.cpp.

KDECore

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal