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
MultiContextItem Struct Reference

#include <messagemodel.h>

+ Collaboration diagram for MultiContextItem:

Public Member Functions

 MultiContextItem (int oldCount, ContextItem *ctx, bool writable)
 
ContextItemcontextItem (int model) const
 
MultiMessageItemmultiMessageItem (int msgIdx) const
 
MessageItemmessageItem (int model, int msgIdx) const
 
int firstNonobsoleteMessageIndex (int msgIdx) const
 
int findMessage (const QString &sourcetext, const QString &comment) const
 
int findMessageById (const QString &id) const
 
QString context () const
 
QString comment () const
 
int messageCount () const
 
int getNumFinished () const
 
int getNumEditable () const
 
bool isObsolete () const
 

Friends

class MultiDataModel
 

Detailed Description

Definition at line 271 of file messagemodel.h.

Constructor & Destructor Documentation

◆ MultiContextItem()

MultiContextItem::MultiContextItem ( int oldCount,
ContextItem * ctx,
bool writable )

Definition at line 528 of file messagemodel.cpp.

References MultiContextItem(), ContextItem::messageCount(), and ContextItem::messageItem().

Referenced by MultiContextItem().

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

Member Function Documentation

◆ comment()

QString MultiContextItem::comment ( ) const
inline

Definition at line 286 of file messagemodel.h.

◆ context()

QString MultiContextItem::context ( ) const
inline

Definition at line 285 of file messagemodel.h.

Referenced by testing.tools.safetynet_job.JobRun::_BuildRunMetadata(), testing.tools.safetynet_job.JobRun::_IncrementalRun(), testing.tools.safetynet_job.JobRun::_WriteCheckpoint(), testing.tools.safetynet_job.JobRun::_WriteRawJson(), and testing.tools.safetynet_job.JobRun::Run().

+ Here is the caller graph for this function:

◆ contextItem()

ContextItem * MultiContextItem::contextItem ( int model) const
inline

Definition at line 276 of file messagemodel.h.

Referenced by MessageModel::data().

+ Here is the caller graph for this function:

◆ findMessage()

int MultiContextItem::findMessage ( const QString & sourcetext,
const QString & comment ) const

Definition at line 618 of file messagemodel.cpp.

References messageCount(), and multiMessageItem().

+ Here is the call graph for this function:

◆ findMessageById()

int MultiContextItem::findMessageById ( const QString & id) const

Definition at line 628 of file messagemodel.cpp.

References messageCount(), and multiMessageItem().

+ Here is the call graph for this function:

◆ firstNonobsoleteMessageIndex()

int MultiContextItem::firstNonobsoleteMessageIndex ( int msgIdx) const

Definition at line 610 of file messagemodel.cpp.

◆ getNumEditable()

int MultiContextItem::getNumEditable ( ) const
inline

Definition at line 290 of file messagemodel.h.

Referenced by MessageModel::data().

+ Here is the caller graph for this function:

◆ getNumFinished()

int MultiContextItem::getNumFinished ( ) const
inline

Definition at line 289 of file messagemodel.h.

Referenced by MessageModel::data().

+ Here is the caller graph for this function:

◆ isObsolete()

bool MultiContextItem::isObsolete ( ) const
inline

Definition at line 292 of file messagemodel.h.

References messageCount().

+ Here is the call graph for this function:

◆ messageCount()

int MultiContextItem::messageCount ( ) const
inline

Definition at line 287 of file messagemodel.h.

Referenced by MultiDataModel::append(), MultiDataModel::close(), MessageModel::data(), findMessage(), findMessageById(), isObsolete(), MultiDataModel::isWellMergeable(), and MultiDataModel::messageItem().

+ Here is the caller graph for this function:

◆ messageItem()

MessageItem * MultiContextItem::messageItem ( int model,
int msgIdx ) const
inline

Definition at line 280 of file messagemodel.h.

Referenced by MessageModel::data(), and MultiDataModel::messageItem().

+ Here is the caller graph for this function:

◆ multiMessageItem()

MultiMessageItem * MultiContextItem::multiMessageItem ( int msgIdx) const
inline

Definition at line 278 of file messagemodel.h.

Referenced by MultiDataModel::close(), MessageModel::data(), findMessage(), findMessageById(), MultiDataModel::isWellMergeable(), MultiDataModel::multiMessageItem(), and MultiDataModel::setFinished().

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ MultiDataModel

friend class MultiDataModel
friend

Definition at line 295 of file messagemodel.h.


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