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

#include <messagemodel.h>

+ Inheritance diagram for MultiDataModelIterator:
+ Collaboration diagram for MultiDataModelIterator:

Public Member Functions

 MultiDataModelIterator (MultiDataModel *model, int modelNo, int contextNo=0, int messageNo=0)
 
MessageItemcurrent () const
 
bool isValid () const
 
void operator++ ()
 
- Public Member Functions inherited from MultiDataIndex
 MultiDataIndex ()
 
 MultiDataIndex (int model, int context, int message)
 
void setModel (int model)
 
int model () const
 
int context () const
 
int message () const
 
bool isValid () const
 
bool operator== (const MultiDataIndex &other) const
 
bool operator!= (const MultiDataIndex &other) const
 

Additional Inherited Members

- Protected Attributes inherited from MultiDataIndex
int m_model
 
int m_context
 
int m_message
 

Detailed Description

Definition at line 344 of file messagemodel.h.

Constructor & Destructor Documentation

◆ MultiDataModelIterator()

MultiDataModelIterator::MultiDataModelIterator ( MultiDataModel * model,
int modelNo,
int contextNo = 0,
int messageNo = 0 )

Definition at line 1157 of file messagemodel.cpp.

References MultiDataIndex::MultiDataIndex().

Referenced by similarTextHeuristicCandidates().

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

Member Function Documentation

◆ current()

MessageItem * MultiDataModelIterator::current ( ) const

Definition at line 1177 of file messagemodel.cpp.

References MultiDataModel::messageItem().

Referenced by similarTextHeuristicCandidates().

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

◆ isValid()

bool MultiDataModelIterator::isValid ( ) const

Definition at line 1172 of file messagemodel.cpp.

References MultiDataIndex::m_context.

Referenced by operator++(), and similarTextHeuristicCandidates().

+ Here is the caller graph for this function:

◆ operator++()

void MultiDataModelIterator::operator++ ( )

Definition at line 1162 of file messagemodel.cpp.

References isValid(), MultiDataIndex::m_context, and MultiDataIndex::m_message.

Referenced by similarTextHeuristicCandidates().

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

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