![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qcompleter_p.h>
Public Member Functions | |
QSortedModelEngine (QCompleterPrivate *c) | |
QMatchData | filter (const QString &, const QModelIndex &, int) override |
QIndexMapper | indexHint (QString, const QModelIndex &, Qt::SortOrder) |
Qt::SortOrder | sortOrder (const QModelIndex &) const |
Public Member Functions inherited from QCompletionEngine | |
QCompletionEngine (QCompleterPrivate *c) | |
virtual | ~QCompletionEngine () |
void | filter (const QStringList &parts) |
QMatchData | filterHistory () |
bool | matchHint (const QString &part, const QModelIndex &parent, QMatchData *m) const |
void | saveInCache (QString, const QModelIndex &, const QMatchData &) |
bool | lookupCache (const QString &part, const QModelIndex &parent, QMatchData *m) const |
virtual void | filterOnDemand (int) |
int | matchCount () const |
Additional Inherited Members | |
Public Types inherited from QCompletionEngine | |
typedef QMap< QString, QMatchData > | CacheItem |
typedef QMap< QModelIndex, CacheItem > | Cache |
Public Attributes inherited from QCompletionEngine | |
QMatchData | curMatch |
QMatchData | historyMatch |
QCompleterPrivate * | c |
QStringList | curParts |
QModelIndex | curParent |
int | curRow |
Cache | cache |
int | cost |
Definition at line 144 of file qcompleter_p.h.
|
inline |
Definition at line 147 of file qcompleter_p.h.
References QCompletionEngine::QCompletionEngine().
|
overridevirtual |
Implements QCompletionEngine.
Definition at line 596 of file qcompleter.cpp.
References QMatchData::QMatchData(), QCompletionEngine::c, QCompleterPrivate::column, QIndexMapper::from(), QMatchData::isValid(), QCompleterPrivate::proxy, QCompleterPrivate::role, and QIndexMapper::to().
QIndexMapper QSortedModelEngine::indexHint | ( | QString | part, |
const QModelIndex & | parent, | ||
Qt::SortOrder | order ) |
Definition at line 540 of file qcompleter.cpp.
References QIndexMapper::QIndexMapper(), QCompletionEngine::c, QCompletionEngine::cache, QMatchData::isValid(), and QCompleterPrivate::proxy.
Qt::SortOrder QSortedModelEngine::sortOrder | ( | const QModelIndex & | parent | ) | const |
Definition at line 584 of file qcompleter.cpp.
References QCompletionEngine::c, QCompleterPrivate::column, QCompleterPrivate::proxy, and QCompleterPrivate::role.