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>.
|
#include <qcompleter_p.h>
Public Member Functions | |
QUnsortedModelEngine (QCompleterPrivate *c) | |
void | filterOnDemand (int) override |
QMatchData | filter (const QString &, const QModelIndex &, int) override |
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 |
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 152 of file qcompleter_p.h.
|
inline |
Definition at line 155 of file qcompleter_p.h.
|
overridevirtual |
Implements QCompletionEngine.
Definition at line 749 of file qcompleter.cpp.
References hint(), QCompletionEngine::lookupCache(), QCompletionEngine::matchHint(), model, QSqlQueryModel::rowCount(), and QCompletionEngine::saveInCache().
|
overridevirtual |
Reimplemented from QCompletionEngine.
Definition at line 735 of file qcompleter.cpp.
References QCompletionEngine::curMatch, QCompletionEngine::curParent, QCompletionEngine::curParts, QMatchData::indices, QIndexMapper::last(), QCompletionEngine::matchCount(), model, QMatchData::partial, Q_ASSERT, QSqlQueryModel::rowCount(), and QCompletionEngine::saveInCache().