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>.
Loading...
Searching...
No Matches
QIndexMapper Class Reference

#include <qcompleter_p.h>

+ Collaboration diagram for QIndexMapper:

Public Member Functions

 QIndexMapper ()
 
 QIndexMapper (int f, int t)
 
 QIndexMapper (const QList< int > &vec)
 
int count () const
 
int operator[] (int index) const
 
int indexOf (int x) const
 
bool isValid () const
 
bool isEmpty () const
 
void append (int x)
 
int first () const
 
int last () const
 
int from () const
 
int to () const
 
int cost () const
 

Detailed Description

Definition at line 76 of file qcompleter_p.h.

Constructor & Destructor Documentation

◆ QIndexMapper() [1/3]

QIndexMapper::QIndexMapper ( )
inline

Definition at line 79 of file qcompleter_p.h.

◆ QIndexMapper() [2/3]

QIndexMapper::QIndexMapper ( int f,
int t )
inline

Definition at line 80 of file qcompleter_p.h.

◆ QIndexMapper() [3/3]

QIndexMapper::QIndexMapper ( const QList< int > & vec)
inline

Definition at line 81 of file qcompleter_p.h.

Member Function Documentation

◆ append()

void QIndexMapper::append ( int x)
inline

Definition at line 88 of file qcompleter_p.h.

References QList< T >::append(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ cost()

int QIndexMapper::cost ( ) const
inline

Definition at line 93 of file qcompleter_p.h.

References QList< T >::size().

Referenced by QCompletionEngine::saveInCache().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ count()

int QIndexMapper::count ( ) const
inline

Definition at line 83 of file qcompleter_p.h.

References QList< T >::size().

Referenced by QCompletionModel::index(), and QCompletionEngine::matchCount().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ first()

int QIndexMapper::first ( ) const
inline

Definition at line 89 of file qcompleter_p.h.

References QList< T >::first().

Referenced by QSortedModelEngine::indexHint().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ from()

int QIndexMapper::from ( ) const
inline

Definition at line 91 of file qcompleter_p.h.

References Q_ASSERT.

◆ indexOf()

int QIndexMapper::indexOf ( int x) const
inline

Definition at line 85 of file qcompleter_p.h.

References QListSpecialMethodsBase< T >::indexOf().

+ Here is the call graph for this function:

◆ isEmpty()

bool QIndexMapper::isEmpty ( ) const
inline

Definition at line 87 of file qcompleter_p.h.

References QList< T >::isEmpty().

Referenced by isValid().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isValid()

bool QIndexMapper::isValid ( ) const
inline

Definition at line 86 of file qcompleter_p.h.

References isEmpty().

+ Here is the call graph for this function:

◆ last()

int QIndexMapper::last ( ) const
inline

Definition at line 90 of file qcompleter_p.h.

References QList< T >::last().

Referenced by QUnsortedModelEngine::filterOnDemand(), and QSortedModelEngine::indexHint().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator[]()

int QIndexMapper::operator[] ( int index) const
inline

Definition at line 84 of file qcompleter_p.h.

◆ to()

int QIndexMapper::to ( ) const
inline

Definition at line 92 of file qcompleter_p.h.

References Q_ASSERT.


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