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

#include <messagemodel.h>

+ Inheritance diagram for DataModelIterator:
+ Collaboration diagram for DataModelIterator:

Public Member Functions

 DataModelIterator (DataModel *model, int contextNo=0, int messageNo=0)
 
MessageItemcurrent () const
 
bool isValid () const
 
void operator++ ()
 
- Public Member Functions inherited from DataIndex
 DataIndex ()
 
 DataIndex (int context, int message)
 
int context () const
 
int message () const
 
bool isValid () const
 

Additional Inherited Members

- Protected Attributes inherited from DataIndex
int m_context
 
int m_message
 

Detailed Description

Definition at line 128 of file messagemodel.h.

Constructor & Destructor Documentation

◆ DataModelIterator()

DataModelIterator::DataModelIterator ( DataModel * model,
int contextNo = 0,
int messageNo = 0 )

Definition at line 479 of file messagemodel.cpp.

References DataIndex::DataIndex().

Referenced by DataModel::release(), and DataModel::updateStatistics().

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

Member Function Documentation

◆ current()

MessageItem * DataModelIterator::current ( ) const

Definition at line 498 of file messagemodel.cpp.

References DataModel::messageItem().

Referenced by DataModel::release(), and DataModel::updateStatistics().

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

◆ isValid()

bool DataModelIterator::isValid ( ) const

Definition at line 484 of file messagemodel.cpp.

References DataIndex::m_context.

Referenced by DataModel::release(), and DataModel::updateStatistics().

+ Here is the caller graph for this function:

◆ operator++()

void DataModelIterator::operator++ ( )

Definition at line 489 of file messagemodel.cpp.

References DataIndex::m_context, and DataIndex::m_message.

Referenced by DataModel::release(), and DataModel::updateStatistics().

+ Here is the caller graph for this function:

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