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

#include <messagemodel.h>

+ Collaboration diagram for ContextItem:

Public Member Functions

 ContextItem (const QString &context)
 
int finishedDangerCount () const
 
int unfinishedDangerCount () const
 
int finishedCount () const
 
int unfinishedCount () const
 
int nonobsoleteCount () const
 
QString context () const
 
QString comment () const
 
QString fullContext () const
 
bool isObsolete () const
 
bool isFinished () const
 
MessageItemmessageItem (int i) const
 
int messageCount () const
 
MessageItemfindMessage (const QString &sourcetext, const QString &comment) const
 

Friends

class DataModel
 
class MultiDataModel
 

Detailed Description

Definition at line 66 of file messagemodel.h.

Constructor & Destructor Documentation

◆ ContextItem()

ContextItem::ContextItem ( const QString & context)

Definition at line 50 of file messagemodel.cpp.

References ContextItem().

Referenced by ContextItem().

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

Member Function Documentation

◆ comment()

QString ContextItem::comment ( ) const
inline

Definition at line 79 of file messagemodel.h.

◆ context()

QString ContextItem::context ( ) const
inline

Definition at line 78 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:

◆ findMessage()

MessageItem * ContextItem::findMessage ( const QString & sourcetext,
const QString & comment ) const

Definition at line 73 of file messagemodel.cpp.

References messageCount(), and messageItem().

+ Here is the call graph for this function:

◆ finishedCount()

int ContextItem::finishedCount ( ) const
inline

Definition at line 74 of file messagemodel.h.

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

+ Here is the caller graph for this function:

◆ finishedDangerCount()

int ContextItem::finishedDangerCount ( ) const
inline

Definition at line 71 of file messagemodel.h.

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

+ Here is the caller graph for this function:

◆ fullContext()

QString ContextItem::fullContext ( ) const
inline

Definition at line 80 of file messagemodel.h.

◆ isFinished()

bool ContextItem::isFinished ( ) const
inline

Definition at line 84 of file messagemodel.h.

References unfinishedCount().

Referenced by MessageModel::data().

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

◆ isObsolete()

bool ContextItem::isObsolete ( ) const
inline

Definition at line 83 of file messagemodel.h.

References nonobsoleteCount().

Referenced by MessageModel::data().

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

◆ messageCount()

int ContextItem::messageCount ( ) const
inline

Definition at line 87 of file messagemodel.h.

Referenced by MultiContextItem::MultiContextItem(), MultiDataModel::append(), calcMergeScore(), findMessage(), and MultiDataModel::isWellMergeable().

+ Here is the caller graph for this function:

◆ messageItem()

MessageItem * ContextItem::messageItem ( int i) const

Definition at line 65 of file messagemodel.cpp.

Referenced by MultiContextItem::MultiContextItem(), MultiDataModel::append(), calcMergeScore(), findMessage(), MultiDataModel::isWellMergeable(), and DataModel::messageItem().

+ Here is the caller graph for this function:

◆ nonobsoleteCount()

int ContextItem::nonobsoleteCount ( ) const
inline

Definition at line 76 of file messagemodel.h.

Referenced by MessageModel::data(), isObsolete(), and MultiDataModel::setFinished().

+ Here is the caller graph for this function:

◆ unfinishedCount()

int ContextItem::unfinishedCount ( ) const
inline

Definition at line 75 of file messagemodel.h.

Referenced by isFinished().

+ Here is the caller graph for this function:

◆ unfinishedDangerCount()

int ContextItem::unfinishedDangerCount ( ) const
inline

Definition at line 72 of file messagemodel.h.

Referenced by MessageModel::data(), MultiDataModel::setDanger(), and MultiDataModel::setFinished().

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ DataModel

friend class DataModel
friend

Definition at line 92 of file messagemodel.h.

◆ MultiDataModel

friend class MultiDataModel
friend

Definition at line 93 of file messagemodel.h.


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