Qt 4.8
|
#include "qglobal.h"
#include "qlibrary.h"
#include "qdebug.h"
#include "unicode/uversion.h"
#include "unicode/ucol.h"
Go to the source code of this file.
Macros | |
#define | STRINGIFY(x) STRINGIFY2(x) |
#define | STRINGIFY2(x) #x |
Typedefs | |
typedef int32_t(* | Ptr_u_strToCase) (UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode) |
typedef void(* | Ptr_ucol_close) (UCollator *coll) |
typedef UCollator *(* | Ptr_ucol_open) (const char *loc, UErrorCode *status) |
typedef UCollationResult(* | Ptr_ucol_strcoll) (const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) |
Enumerations | |
enum | LibLoadStatus { ErrorLoading = -1, NotLoaded = 0, Loaded = 1 } |
Functions | |
bool | qt_initIcu (const QString &localeString) |
static bool | qt_u_strToCase (const QString &str, QString *out, const QLocale &locale, Ptr_u_strToCase caseFunc) |
bool | qt_u_strToLower (const QString &str, QString *out, const QLocale &locale) |
bool | qt_u_strToUpper (const QString &str, QString *out, const QLocale &locale) |
bool | qt_ucol_strcoll (const QChar *source, int sourceLength, const QChar *target, int targetLength, int *result) |
Variables | |
static UCollator * | icuCollator = 0 |
static Ptr_u_strToCase | ptr_u_strToLower = 0 |
static Ptr_u_strToCase | ptr_u_strToUpper = 0 |
static Ptr_ucol_close | ptr_ucol_close = 0 |
static Ptr_ucol_open | ptr_ucol_open = 0 |
static Ptr_ucol_strcoll | ptr_ucol_strcoll = 0 |
static LibLoadStatus | status = NotLoaded |
#define STRINGIFY | ( | x | ) | STRINGIFY2(x) |
Definition at line 74 of file qlocale_icu.cpp.
Referenced by qt_initIcu().
#define STRINGIFY2 | ( | x | ) | #x |
Definition at line 73 of file qlocale_icu.cpp.
typedef int32_t(* Ptr_u_strToCase) (UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode) |
Definition at line 54 of file qlocale_icu.cpp.
typedef void(* Ptr_ucol_close) (UCollator *coll) |
Definition at line 52 of file qlocale_icu.cpp.
typedef UCollator*(* Ptr_ucol_open) (const char *loc, UErrorCode *status) |
Definition at line 51 of file qlocale_icu.cpp.
typedef UCollationResult(* Ptr_ucol_strcoll) (const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) |
Definition at line 53 of file qlocale_icu.cpp.
enum LibLoadStatus |
Enumerator | |
---|---|
ErrorLoading | |
NotLoaded | |
Loaded |
Definition at line 62 of file qlocale_icu.cpp.
bool qt_initIcu | ( | const QString & | localeString | ) |
Definition at line 76 of file qlocale_icu.cpp.
Referenced by QLocale::setDefault(), and QLocalePrivate::updateSystemPrivate().
|
static |
Definition at line 175 of file qlocale_icu.cpp.
Referenced by qt_u_strToLower(), and qt_u_strToUpper().
Definition at line 221 of file qlocale_icu.cpp.
Referenced by QLocale::toLower().
Definition at line 216 of file qlocale_icu.cpp.
Referenced by QLocale::toUpper().
bool qt_ucol_strcoll | ( | const QChar * | source, |
int | sourceLength, | ||
const QChar * | target, | ||
int | targetLength, | ||
int * | result | ||
) |
Definition at line 159 of file qlocale_icu.cpp.
Referenced by QString::localeAwareCompare_helper().
|
static |
Definition at line 71 of file qlocale_icu.cpp.
Referenced by qt_initIcu(), qt_u_strToCase(), and qt_ucol_strcoll().
|
static |
Definition at line 60 of file qlocale_icu.cpp.
Referenced by qt_initIcu(), and qt_u_strToLower().
|
static |
Definition at line 59 of file qlocale_icu.cpp.
Referenced by qt_initIcu(), and qt_u_strToUpper().
|
static |
Definition at line 58 of file qlocale_icu.cpp.
Referenced by qt_initIcu().
|
static |
Definition at line 56 of file qlocale_icu.cpp.
Referenced by qt_initIcu().
|
static |
Definition at line 57 of file qlocale_icu.cpp.
Referenced by qt_initIcu(), and qt_ucol_strcoll().
|
static |
Definition at line 69 of file qlocale_icu.cpp.
Referenced by accessibilityEventHandler(), add(), QMacPrintEngine::begin(), bidiItemize(), QAhiScreen::blit(), QGLFramebufferObjectPrivate::checkFramebufferStatus(), clear(), commonEdge(), QAhiScreen::configure(), QAhiScreen::connect(), QCoreWlanEngine::connectToId(), QPSQLDriverPrivate::detectBackslashEscape(), enableHarfBuzz(), QIODevice::errorString(), QWingedEdge::findInsertStatus(), fmtDateTime(), functor(), QPSQLDriverPrivate::getPSQLVersion(), QFontEngineMac::getSfntTable(), QFileIconProviderPrivate::getWinIcon(), QVistaHelper::handleWinEvent(), QmlJSDebugger::QDeclarativeViewInspectorPrivate::highlight(), QAhiScreen::initDevice(), QAhiScreenCursor::move(), QAInterface::navigate(), QMacPrintEnginePrivate::newPage_helper(), QMYSQLResult::nextResult(), QDeclarativeXmlListModelPrivate::notifyQueryStarted(), QDateTimeParser::parseFormat(), QEventDispatcherMac::processEvents(), QPSQLResultPrivate::processResults(), QMacPrintEngine::property(), qDBusPropertySet(), QFontEngineMacMulti::QFontEngineMacMulti(), qt_initIcu(), QDBusAbstractInterfaceBase::qt_metacall(), qt_parseNsswitchPrintersEntry(), qt_u_strToCase(), qTraverseKdPointTree(), QMetaProperty::read(), QOCICols::readPiecewise(), QFontEngineQPF::remapFontData(), QWingedEdge::removeEdge(), QSslSocketPrivate::resetDefaultCiphers(), QDeclarativeVME::run(), QDeclarativeCompiledBindingsPrivate::run(), QNetworkAccessHttpBackend::sendCacheContents(), QAhiScreenCursor::set(), QPSQLDriverPrivate::setDatestyle(), QPSQLDriverPrivate::setEncodingUtf8(), QAhiScreen::setMode(), QAhiScreenPrivate::setMode(), QThread::setPriority(), QMacPrintEngine::setProperty(), QDeclarativeObjectScriptClass::setProperty(), QPictureIO::setStatus(), QWidgetPrivate::setWindowTitle_sys(), QAhiScreenCursor::show(), QSystemTrayIconPrivate::showMessage_sys(), QAhiScreen::solidFill(), QMacPrintEnginePrivate::supportedResolutions(), QSslSocketPrivate::systemCaCertificates(), traverse(), unquote(), QDeclarativeBinding::update(), QPropertyAnimationPrivate::updateProperty(), QSqlField::value(), QDeclarativeInspectorService::views(), QDeclarativePropertyPrivate::write(), QDeclarativePointFValueType::write(), QIODevice::write(), QDeclarativePointValueType::write(), QDeclarativeSizeFValueType::write(), QDeclarativeSizeValueType::write(), QDeclarativeRectFValueType::write(), QMetaProperty::write(), QDeclarativeRectValueType::write(), QDeclarativeVector2DValueType::write(), QDeclarativeVector3DValueType::write(), QDeclarativeVector4DValueType::write(), QDeclarativeQuaternionValueType::write(), QDeclarativeMatrix4x4ValueType::write(), QDeclarativeEasingValueType::write(), QDeclarativeFontValueType::write(), QDeclarativePropertyPrivate::writeEnumProperty(), and QXIMInputContext::x11FilterEvent().