Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qlocale_icu.cpp File Reference
#include "qglobal.h"
#include "qdebug.h"
#include "qlocale_p.h"
#include "qmutex.h"
#include "unicode/uloc.h"
#include "unicode/ustring.h"
+ Include dependency graph for qlocale_icu.cpp:

Go to the source code of this file.

Functions

static bool qt_u_strToCase (const QString &str, QString *out, const char *localeID, Ptr_u_strToCase caseFunc)
 

Variables

QT_BEGIN_NAMESPACE typedef int32_t(* Ptr_u_strToCase )(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode)
 

Function Documentation

◆ qt_u_strToCase()

static bool qt_u_strToCase ( const QString str,
QString out,
const char *  localeID,
Ptr_u_strToCase  caseFunc 
)
static

Definition at line 17 of file qlocale_icu.cpp.

References QString::constData(), out, Q_ASSERT, QString::size(), str, and Qt::Uninitialized.

+ Here is the call graph for this function:

Variable Documentation

◆ Ptr_u_strToCase

QT_BEGIN_NAMESPACE typedef int32_t(* Ptr_u_strToCase) (UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode) ( UChar *  dest,
int32_t  destCapacity,
const UChar *  src,
int32_t  srcLength,
const char *  locale,
UErrorCode *  pErrorCode 
)

Definition at line 14 of file qlocale_icu.cpp.