8#include <QtCore/qstring.h>
9#include <QtCore/qstringlist.h>
10#include <QtCore/qlocale.h>
30 {
return lhs.
compare(rhs) < 0; }
51 QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_MOVE_AND_SWAP(
QCollator)
56 void setLocale(
const QLocale &locale);
62 void setNumericMode(
bool on);
63 bool numericMode()
const;
65 void setIgnorePunctuation(
bool on);
66 bool ignorePunctuation()
const;
70#if QT_CORE_REMOVED_SINCE(6, 4) && QT_POINTER_SIZE != 4
QExplicitlySharedDataPointer< QCollatorSortKeyPrivate > d
friend bool operator<(const QCollatorSortKey &lhs, const QCollatorSortKey &rhs)
Both keys must have been created by the same QCollator's sortKey().
int compare(const QCollatorSortKey &key) const
Compares this key to otherKey, which must have been created by the same QCollator's sortKey() as this...
int compare(const QChar *s1, qsizetype len1, const QChar *s2, qsizetype len2) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
bool operator()(const QString &s1, const QString &s2) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
QCollator(QCollator &&other) noexcept
Move constructor.
bool operator()(QStringView s1, QStringView s2) const
int compare(const QString &s1, const QString &s2) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch return DBusWatch unsigned int return DBusError const DBusError return const DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessageIter int const void return DBusMessageIter DBusMessageIter return DBusMessageIter void DBusMessageIter void int return DBusMessage DBusMessageIter return DBusMessageIter return DBusMessageIter DBusMessageIter const char const char const char const char return DBusMessage return DBusMessage const char return DBusMessage dbus_bool_t return DBusMessage dbus_uint32_t return DBusMessage void
GLuint GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat s1
constexpr void qt_ptr_swap(T *&lhs, T *&rhs) noexcept
static int compare(quint64 a, quint64 b)
wordList<< "alpha"<< "omega"<< "omicron"<< "zeta";QLineEdit *lineEdit=new QLineEdit(this);QCompleter *completer=new QCompleter(wordList, this);completer-> setCaseSensitivity(Qt::CaseInsensitive)