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

#include <messagemodel.h>

+ Inheritance diagram for MultiDataIndex:
+ Collaboration diagram for MultiDataIndex:

Public Member Functions

 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
 

Protected Attributes

int m_model
 
int m_context
 
int m_message
 

Detailed Description

Definition at line 323 of file messagemodel.h.

Constructor & Destructor Documentation

◆ MultiDataIndex() [1/2]

MultiDataIndex::MultiDataIndex ( )
inline

Definition at line 326 of file messagemodel.h.

References m_context, m_message, and m_model.

◆ MultiDataIndex() [2/2]

MultiDataIndex::MultiDataIndex ( int model,
int context,
int message )
inline

Definition at line 327 of file messagemodel.h.

References m_context, m_message, and m_model.

Referenced by MultiDataModelIterator::MultiDataModelIterator().

+ Here is the caller graph for this function:

Member Function Documentation

◆ context()

int MultiDataIndex::context ( ) const
inline

◆ isValid()

bool MultiDataIndex::isValid ( ) const
inline

Definition at line 333 of file messagemodel.h.

References m_context.

◆ message()

int MultiDataIndex::message ( ) const
inline

Definition at line 332 of file messagemodel.h.

References m_message.

Referenced by PRESUBMIT_test_mocks.MockOutputApi.PresubmitResult::__repr__(), MultiDataModel::messageItem(), MessageModel::modelIndex(), MultiDataModel::multiMessageItem(), and MultiDataModel::setFinished().

+ Here is the caller graph for this function:

◆ model()

int MultiDataIndex::model ( ) const
inline

Definition at line 330 of file messagemodel.h.

References m_model.

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

+ Here is the caller graph for this function:

◆ operator!=()

bool MultiDataIndex::operator!= ( const MultiDataIndex & other) const
inline

Definition at line 336 of file messagemodel.h.

References operator==().

+ Here is the call graph for this function:

◆ operator==()

bool MultiDataIndex::operator== ( const MultiDataIndex & other) const
inline

Definition at line 334 of file messagemodel.h.

References m_context, m_message, and m_model.

Referenced by operator!=().

+ Here is the caller graph for this function:

◆ setModel()

void MultiDataIndex::setModel ( int model)
inline

Definition at line 329 of file messagemodel.h.

References m_model.

Member Data Documentation

◆ m_context

int MultiDataIndex::m_context
protected

◆ m_message

int MultiDataIndex::m_message
protected

◆ m_model

int MultiDataIndex::m_model
protected

Definition at line 338 of file messagemodel.h.

Referenced by MultiDataIndex(), MultiDataIndex(), model(), operator==(), and setModel().


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