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

#include <messagemodel.h>

Inheritance diagram for DataIndex:
Collaboration diagram for DataIndex:

Public Member Functions

 DataIndex (TranslationType type, int group=-1, int message=-1)
int group () const
int message () const
bool isValid () const
bool isIdBased () const
TranslationType translationType () const

Protected Attributes

int m_group
int m_message
TranslationType m_type

Detailed Description

Definition at line 121 of file messagemodel.h.

Constructor & Destructor Documentation

◆ DataIndex()

DataIndex::DataIndex ( TranslationType type,
int group = -1,
int message = -1 )
inline

Definition at line 124 of file messagemodel.h.

References m_group, m_message, and m_type.

Referenced by DataModelIterator::DataModelIterator(), and MultiDataIndex::MultiDataIndex().

Here is the caller graph for this function:

Member Function Documentation

◆ group()

int DataIndex::group ( ) const
inline

Definition at line 128 of file messagemodel.h.

References m_group.

Referenced by DataModel::groupItem(), MultiDataModel::messageItem(), MessageModel::modelIndex(), and MultiDataModel::multiGroupItem().

Here is the caller graph for this function:

◆ isIdBased()

bool DataIndex::isIdBased ( ) const
inline

Definition at line 131 of file messagemodel.h.

References IDBASED, and m_type.

Referenced by DataModelIterator::isValid(), MultiDataModelIterator::isValid(), MultiDataModel::messageItem(), DataModelIterator::operator++(), and MultiDataModelIterator::operator++().

Here is the caller graph for this function:

◆ isValid()

bool DataIndex::isValid ( ) const
inline

Definition at line 130 of file messagemodel.h.

References m_group.

◆ message()

int DataIndex::message ( ) const
inline

Definition at line 129 of file messagemodel.h.

References m_message.

Referenced by DataModel::messageItem(), MultiDataModel::messageItem(), MessageModel::modelIndex(), MultiDataModel::multiMessageItem(), and MultiDataModel::setFinished().

Here is the caller graph for this function:

◆ translationType()

TranslationType DataIndex::translationType ( ) const
inline

Definition at line 132 of file messagemodel.h.

References m_type.

Referenced by DataModel::groupItem().

Here is the caller graph for this function:

Member Data Documentation

◆ m_group

◆ m_message

int DataIndex::m_message
protected

◆ m_type

TranslationType DataIndex::m_type
protected

Definition at line 137 of file messagemodel.h.

Referenced by DataIndex(), isIdBased(), and translationType().


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