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 (TranslationType type, const DataModel *model=0, int groupNo=0, int messageNo=0)
MessageItemcurrent () const
bool isValid () const
void operator++ ()
Public Member Functions inherited from DataIndex
 DataIndex (TranslationType type, int group=-1, int message=-1)
int group () const
int message () const
bool isValid () const
bool isIdBased () const
TranslationType translationType () const

Additional Inherited Members

Protected Attributes inherited from DataIndex
int m_group
int m_message
TranslationType m_type

Detailed Description

Definition at line 140 of file messagemodel.h.

Constructor & Destructor Documentation

◆ DataModelIterator()

DataModelIterator::DataModelIterator ( TranslationType type,
const DataModel * model = 0,
int groupNo = 0,
int messageNo = 0 )

Definition at line 621 of file messagemodel.cpp.

References DataIndex::DataIndex().

Referenced by DataModel::release(), QmlFormPreviewView::setSourceContext(), 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 645 of file messagemodel.cpp.

References DataModel::messageItem().

Referenced by DataModel::release(), QmlFormPreviewView::setSourceContext(), 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 627 of file messagemodel.cpp.

References DataIndex::isIdBased(), and DataIndex::m_group.

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

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

◆ operator++()

void DataModelIterator::operator++ ( )

Definition at line 634 of file messagemodel.cpp.

References DataIndex::isIdBased(), DataIndex::m_group, and DataIndex::m_message.

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

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: