QCollatorSortKey Class
The QCollatorSortKey class can be used to speed up string collation. More...
| Header: | #include <QCollatorSortKey> |
| qmake: | QT += core |
| Since: | Qt 5.2 |
This class was introduced in Qt 5.2.
Note: All functions in this class are reentrant.
Public Functions
| QCollatorSortKey(const QCollatorSortKey &other) | |
| QCollatorSortKey & | operator=(const QCollatorSortKey &other) |
| ~QCollatorSortKey() |
Detailed Description
The QCollatorSortKey class is always created by QCollator::sortKey() and is used for fast strings collation, for example when collating many strings.
See also QCollator and QCollator::sortKey().
Member Function Documentation
QCollatorSortKey::QCollatorSortKey(const QCollatorSortKey &other)
Constructs a copy of the other collator key.
QCollatorSortKey &QCollatorSortKey::operator=(const QCollatorSortKey &other)
Assigns other to this collator key.
QCollatorSortKey::~QCollatorSortKey()
Destroys the collator key.