Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QCollatorPrivate Class Reference

#include <qcollator_p.h>

Collaboration diagram for QCollatorPrivate:

Public Types

using Opt = QCollator::CollationOption

Public Member Functions

 QCollatorPrivate (const QLocale &locale)
 ~QCollatorPrivate ()
bool isC () const
void clear ()
void ensureInitialized ()
void init ()
void cleanup ()

Static Public Member Functions

static QCollatorSortKey sortKeyFromData (CollatorKeyType &&data)

Public Attributes

QAtomicInt ref = 1
QLocale locale
QCollator::CollationOptions options
bool dirty = true
CollatorType collator = NoCollator

Detailed Description

Definition at line 65 of file qcollator_p.h.

Member Typedef Documentation

◆ Opt

Constructor & Destructor Documentation

◆ QCollatorPrivate()

QCollatorPrivate::QCollatorPrivate ( const QLocale & locale)
inline

Definition at line 80 of file qcollator_p.h.

◆ ~QCollatorPrivate()

QCollatorPrivate::~QCollatorPrivate ( )
inline

Definition at line 81 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 151 of file qcollator_icu.cpp.

References collator.

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

Here is the caller graph for this function:

◆ clear()

void QCollatorPrivate::clear ( )
inline

Definition at line 84 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 89 of file qcollator_p.h.

References dirty, and init().

Here is the call graph for this function:

◆ init()

void QCollatorPrivate::init ( )

Definition at line 51 of file qcollator_icu.cpp.

Referenced by ensureInitialized().

Here is the caller graph for this function:

◆ isC()

bool QCollatorPrivate::isC ( ) const
inline

Definition at line 82 of file qcollator_p.h.

◆ sortKeyFromData()

QCollatorSortKey QCollatorPrivate::sortKeyFromData ( CollatorKeyType && data)
inlinestatic

Definition at line 119 of file qcollator_p.h.

Member Data Documentation

◆ collator

CollatorType QCollatorPrivate::collator = NoCollator

Definition at line 75 of file qcollator_p.h.

Referenced by cleanup(), and clear().

◆ dirty

bool QCollatorPrivate::dirty = true

Definition at line 73 of file qcollator_p.h.

Referenced by ensureInitialized().

◆ locale

QLocale QCollatorPrivate::locale

Definition at line 71 of file qcollator_p.h.

◆ options

◆ ref

QAtomicInt QCollatorPrivate::ref = 1

Definition at line 70 of file qcollator_p.h.


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