Qt 4.8
Public Functions | Public Variables | List of all members
QMatchData Struct Reference

#include <qcompleter_p.h>

Public Functions

bool isValid () const
 
 QMatchData ()
 
 QMatchData (const QIndexMapper &indices, int em, bool p)
 

Public Variables

int exactMatchIndex
 
QIndexMapper indices
 
bool partial
 

Detailed Description

Definition at line 131 of file qcompleter_p.h.

Constructors and Destructors

◆ QMatchData() [1/2]

QMatchData::QMatchData ( )
inline

Definition at line 132 of file qcompleter_p.h.

132 : exactMatchIndex(-1) { }
int exactMatchIndex
Definition: qcompleter_p.h:137

◆ QMatchData() [2/2]

QMatchData::QMatchData ( const QIndexMapper indices,
int  em,
bool  p 
)
inline

Definition at line 133 of file qcompleter_p.h.

133  :
134  indices(indices), exactMatchIndex(em), partial(p) { }
int exactMatchIndex
Definition: qcompleter_p.h:137
QIndexMapper indices
Definition: qcompleter_p.h:135

Functions

◆ isValid()

bool QMatchData::isValid ( ) const
inline

Definition at line 136 of file qcompleter_p.h.

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

136 { return indices.isValid(); }
QIndexMapper indices
Definition: qcompleter_p.h:135
bool isValid() const
Definition: qcompleter_p.h:116

Properties

◆ exactMatchIndex

int QMatchData::exactMatchIndex

◆ indices

QIndexMapper QMatchData::indices

◆ partial

bool QMatchData::partial

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