![]() |
Qt 6.x
The Qt SDK
|
#include <qcollator_p.h>
Public Member Functions | |
QCollatorPrivate (const QLocale &locale) | |
~QCollatorPrivate () | |
bool | isC () |
void | clear () |
void | ensureInitialized () |
void | init () |
void | cleanup () |
Public Attributes | |
QAtomicInt | ref = 1 |
QLocale | locale |
Qt::CaseSensitivity | caseSensitivity = Qt::CaseSensitive |
bool | numericMode = false |
bool | ignorePunctuation = false |
bool | dirty = true |
CollatorType | collator = NoCollator |
Definition at line 53 of file qcollator_p.h.
|
inline |
Definition at line 68 of file qcollator_p.h.
|
inline |
Definition at line 69 of file qcollator_p.h.
References cleanup().
void QCollatorPrivate::cleanup | ( | ) |
Definition at line 67 of file qcollator_icu.cpp.
References collator.
Referenced by ~QCollatorPrivate(), clear(), and init().
|
inline |
Definition at line 72 of file qcollator_p.h.
References cleanup(), collator, and NoCollator.
|
inline |
Definition at line 77 of file qcollator_p.h.
Referenced by QCollator::QCollator(), QCollator::compare(), QCollator::operator=(), and QCollator::sortKey().
void QCollatorPrivate::init | ( | ) |
Definition at line 19 of file qcollator_icu.cpp.
References QLocalePrivate::bcp47Name(), Qt::CaseSensitive, caseSensitivity, cleanup(), collator, dirty, QLocalePrivate::get(), ignorePunctuation, isC(), locale, numericMode, and qWarning.
Referenced by ensureInitialized().
|
inline |
Definition at line 70 of file qcollator_p.h.
References QLocale::C, QLocale::language(), and locale.
Referenced by init(), and QCollator::sortKey().
Qt::CaseSensitivity QCollatorPrivate::caseSensitivity = Qt::CaseSensitive |
Definition at line 61 of file qcollator_p.h.
Referenced by QCollator::caseSensitivity(), QCollator::compare(), init(), and QCollator::setCaseSensitivity().
CollatorType QCollatorPrivate::collator = NoCollator |
Definition at line 66 of file qcollator_p.h.
Referenced by cleanup(), clear(), QCollator::compare(), init(), and QCollator::sortKey().
bool QCollatorPrivate::dirty = true |
Definition at line 64 of file qcollator_p.h.
Referenced by ensureInitialized(), and init().
bool QCollatorPrivate::ignorePunctuation = false |
Definition at line 63 of file qcollator_p.h.
Referenced by QCollator::ignorePunctuation(), init(), and QCollator::setIgnorePunctuation().
QLocale QCollatorPrivate::locale |
Definition at line 57 of file qcollator_p.h.
Referenced by init(), isC(), QCollator::locale(), and QCollator::setLocale().
bool QCollatorPrivate::numericMode = false |
Definition at line 62 of file qcollator_p.h.
Referenced by init(), QCollator::numericMode(), and QCollator::setNumericMode().
QAtomicInt QCollatorPrivate::ref = 1 |
Definition at line 56 of file qcollator_p.h.
Referenced by QCollator::QCollator(), QCollator::~QCollator(), and QCollator::operator=().