Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QCollatorPrivate Class Reference

#include <qcollator_p.h>

+ Collaboration diagram for QCollatorPrivate:

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
 

Detailed Description

Definition at line 53 of file qcollator_p.h.

Constructor & Destructor Documentation

◆ QCollatorPrivate()

QCollatorPrivate::QCollatorPrivate ( const QLocale & locale)
inline

Definition at line 68 of file qcollator_p.h.

◆ ~QCollatorPrivate()

QCollatorPrivate::~QCollatorPrivate ( )
inline

Definition at line 69 of file qcollator_p.h.

References cleanup().

+ Here is the call graph for this function:

Member Function Documentation

◆ cleanup()

void QCollatorPrivate::cleanup ( )

Definition at line 67 of file qcollator_icu.cpp.

References collator.

Referenced by ~QCollatorPrivate(), clear(), and init().

+ Here is the caller graph for this function:

◆ clear()

void QCollatorPrivate::clear ( )
inline

Definition at line 72 of file qcollator_p.h.

References cleanup(), collator, and NoCollator.

+ Here is the call graph for this function:

◆ ensureInitialized()

void QCollatorPrivate::ensureInitialized ( )
inline

Definition at line 77 of file qcollator_p.h.

References dirty, and init().

Referenced by QCollator::QCollator(), QCollator::compare(), QCollator::operator=(), and QCollator::sortKey().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ init()

void QCollatorPrivate::init ( )

Definition at line 19 of file qcollator_icu.cpp.

References Qt::CaseSensitive, caseSensitivity, cleanup(), collator, dirty, QLocalePrivate::get(), ignorePunctuation, isC(), locale, numericMode, and qWarning.

Referenced by ensureInitialized().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isC()

bool QCollatorPrivate::isC ( )
inline

Definition at line 70 of file qcollator_p.h.

References QLocale::C, QLocale::language(), and locale.

Referenced by init(), and QCollator::sortKey().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ caseSensitivity

Qt::CaseSensitivity QCollatorPrivate::caseSensitivity = Qt::CaseSensitive

◆ collator

CollatorType QCollatorPrivate::collator = NoCollator

Definition at line 66 of file qcollator_p.h.

Referenced by cleanup(), clear(), QCollator::compare(), init(), and QCollator::sortKey().

◆ dirty

bool QCollatorPrivate::dirty = true

Definition at line 64 of file qcollator_p.h.

Referenced by ensureInitialized(), and init().

◆ ignorePunctuation

bool QCollatorPrivate::ignorePunctuation = false

◆ locale

QLocale QCollatorPrivate::locale

Definition at line 57 of file qcollator_p.h.

Referenced by init(), isC(), QCollator::locale(), and QCollator::setLocale().

◆ numericMode

bool QCollatorPrivate::numericMode = false

Definition at line 62 of file qcollator_p.h.

Referenced by init(), QCollator::numericMode(), and QCollator::setNumericMode().

◆ ref

QAtomicInt QCollatorPrivate::ref = 1

Definition at line 56 of file qcollator_p.h.

Referenced by QCollator::QCollator(), QCollator::~QCollator(), and QCollator::operator=().


The documentation for this class was generated from the following files: