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
QUnsortedModelEngine Class Reference

#include <qcompleter_p.h>

Inheritance diagram for QUnsortedModelEngine:
Collaboration diagram for QUnsortedModelEngine:

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, QMatchDataCacheItem
typedef QMap< QModelIndex, CacheItemCache
Public Attributes inherited from QCompletionEngine
QMatchData curMatch
QMatchData historyMatch
QCompleterPrivatec
QStringList curParts
QModelIndex curParent
int curRow
Cache cache
int cost

Detailed Description

Definition at line 153 of file qcompleter_p.h.

Constructor & Destructor Documentation

◆ QUnsortedModelEngine()

QUnsortedModelEngine::QUnsortedModelEngine ( QCompleterPrivate * c)
inline

Definition at line 156 of file qcompleter_p.h.

References QCompletionEngine::QCompletionEngine().

Here is the call graph for this function:

Member Function Documentation

◆ filter()

QMatchData QUnsortedModelEngine::filter ( const QString & part,
const QModelIndex & parent,
int n )
overridevirtual

Implements QCompletionEngine.

Definition at line 748 of file qcompleter.cpp.

References QIndexMapper::QIndexMapper(), QMatchData::QMatchData(), QMatchData::QMatchData(), QCompletionEngine::c, QMatchData::exactMatchIndex, QMatchData::isValid(), QMatchData::partial, and QCompleterPrivate::proxy.

Here is the call graph for this function:

◆ filterOnDemand()

void QUnsortedModelEngine::filterOnDemand ( int n)
overridevirtual

Reimplemented from QCompletionEngine.

Definition at line 734 of file qcompleter.cpp.

References QCompletionEngine::c, QCompletionEngine::matchCount(), and QCompleterPrivate::proxy.

Here is the call graph for this function:

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