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

#include <messagemodel.h>

Collaboration diagram for GroupItem:

Public Member Functions

 GroupItem (TranslationType type, const QString &group)
int finishedDangerCount () const
int unfinishedDangerCount () const
int finishedCount () const
int unfinishedCount () const
int nonobsoleteCount () const
QString group () const
TranslationType translationType () 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
MessageItemfindMessageById (const QString &msgid) const

Friends

class DataModel
class MultiDataModel

Detailed Description

Definition at line 69 of file messagemodel.h.

Constructor & Destructor Documentation

◆ GroupItem()

GroupItem::GroupItem ( TranslationType type,
const QString & group )
inline

Definition at line 72 of file messagemodel.h.

Member Function Documentation

◆ comment()

QString GroupItem::comment ( ) const
inline

Definition at line 85 of file messagemodel.h.

◆ findMessage()

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

Definition at line 170 of file messagemodel.cpp.

References messageCount(), and messageItem().

Here is the call graph for this function:

◆ findMessageById()

MessageItem * GroupItem::findMessageById ( const QString & msgid) const

Definition at line 180 of file messagemodel.cpp.

References messageCount(), and messageItem().

Here is the call graph for this function:

◆ finishedCount()

int GroupItem::finishedCount ( ) const
inline

Definition at line 79 of file messagemodel.h.

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

Here is the caller graph for this function:

◆ finishedDangerCount()

int GroupItem::finishedDangerCount ( ) const
inline

Definition at line 76 of file messagemodel.h.

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

Here is the caller graph for this function:

◆ fullContext()

QString GroupItem::fullContext ( ) const
inline

Definition at line 86 of file messagemodel.h.

◆ group()

QString GroupItem::group ( ) const
inline

Definition at line 83 of file messagemodel.h.

◆ isFinished()

bool GroupItem::isFinished ( ) const
inline

Definition at line 90 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 GroupItem::isObsolete ( ) const
inline

Definition at line 89 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 GroupItem::messageCount ( ) const
inline

Definition at line 93 of file messagemodel.h.

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

Here is the caller graph for this function:

◆ messageItem()

MessageItem * GroupItem::messageItem ( int i) const

Definition at line 162 of file messagemodel.cpp.

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

Here is the caller graph for this function:

◆ nonobsoleteCount()

int GroupItem::nonobsoleteCount ( ) const
inline

Definition at line 81 of file messagemodel.h.

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

Here is the caller graph for this function:

◆ translationType()

TranslationType GroupItem::translationType ( ) const
inline

Definition at line 84 of file messagemodel.h.

Referenced by MultiGroupItem::MultiGroupItem().

Here is the caller graph for this function:

◆ unfinishedCount()

int GroupItem::unfinishedCount ( ) const
inline

Definition at line 80 of file messagemodel.h.

Referenced by isFinished().

Here is the caller graph for this function:

◆ unfinishedDangerCount()

int GroupItem::unfinishedDangerCount ( ) const
inline

Definition at line 77 of file messagemodel.h.

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

Here is the caller graph for this function:

◆ DataModel

friend class DataModel
friend

Definition at line 99 of file messagemodel.h.

◆ MultiDataModel

friend class MultiDataModel
friend

Definition at line 100 of file messagemodel.h.


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