![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <messagemodel.h>
Public Member Functions | |
DataModelIterator (TranslationType type, const DataModel *model=0, int groupNo=0, int messageNo=0) | |
MessageItem * | current () 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 |
Definition at line 140 of file messagemodel.h.
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().
MessageItem * DataModelIterator::current | ( | ) | const |
Definition at line 645 of file messagemodel.cpp.
References DataModel::messageItem().
Referenced by DataModel::release(), QmlFormPreviewView::setSourceContext(), and DataModel::updateStatistics().
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().
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().