KVIrc
4.9.2
DeveloperAPIs
|
#include "kvi_debug.h"
#include "kvi_defaults.h"
#include "KviMemory.h"
#include "KviByteOrder.h"
#include "KviLocale.h"
#include "KviCString.h"
#include "KviQString.h"
#include "KviEnvironment.h"
#include "KviFileUtils.h"
#include "KviFile.h"
#include "KviPointerHashTable.h"
#include "KviTranslator.h"
#include <QtGlobal>
#include <QApplication>
#include <QTextCodec>
#include <QDir>
#include <QLocale>
#include <QByteArray>
Classes | |
class | KviSmartTextCodec |
Macros | |
#define | _KVI_LOCALE_CPP_ |
#define | CONTINUATION_CHAR |
#define | UNICODE_VALID(Char) ((Char) < 0x110000 && (((Char)&0xFFFFF800) != 0xD800) && ((Char) < 0xFDD0 || (Char) > 0xFDEF) && ((Char)&0xFFFE) != 0xFFFE) |
Functions | |
static const char * | fast_validate (const char *str) |
static const char * | fast_validate_len (const char *str, int max_len) |
static bool | g_utf8_validate (const char *str, int max_len, const char **end) |
Variables | |
static const char * | encoding_groups [] |
static KviPointerHashTable < const char *, KviMessageCatalogue > * | g_pCatalogueDict = nullptr |
KVILIB_API KviMessageCatalogue * | g_pMainCatalogue = nullptr |
static KviPointerHashTable < const char *, KviSmartTextCodec > * | g_pSmartCodecDict = nullptr |
static KviTranslator * | g_pTranslator = nullptr |
static QTextCodec * | g_pUtf8TextCodec = nullptr |
static QString | g_szDefaultLocalePath |
static KviLocale::EncodingDescription | supported_encodings [] |
#define _KVI_LOCALE_CPP_ |
#define CONTINUATION_CHAR |
Referenced by fast_validate(), and fast_validate_len().
#define UNICODE_VALID | ( | Char | ) | ((Char) < 0x110000 && (((Char)&0xFFFFF800) != 0xD800) && ((Char) < 0xFDD0 || (Char) > 0xFDEF) && ((Char)&0xFFFE) != 0xFFFE) |
Referenced by fast_validate(), and fast_validate_len().
|
static |
References CONTINUATION_CHAR, p, and UNICODE_VALID.
Referenced by g_utf8_validate().
|
static |
References CONTINUATION_CHAR, p, and UNICODE_VALID.
Referenced by g_utf8_validate().
|
static |
References fast_validate(), fast_validate_len(), and p.
Referenced by KviSmartTextCodec::convertToUnicode().
|
static |
Referenced by KviLocale::encodingGroup().
|
static |
Referenced by KviLocale::~KviLocale().
KVILIB_API KviMessageCatalogue* g_pMainCatalogue = nullptr |
|
static |
Referenced by KviLocale::~KviLocale().
|
static |
Referenced by KviLocale::~KviLocale().
|
static |
|
static |
Referenced by KviLocale::KviLocale(), KviLocale::translate(), and KviLocale::translateToQString().
|
static |