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

#include <messagemodel.h>

Collaboration diagram for MultiGroupItem:

Public Member Functions

 MultiGroupItem (int oldCount, GroupItem *groupItem, bool writable)
GroupItemgroupItem (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 group () const
TranslationType translationType () const
QString comment () const
int messageCount () const
int getNumFinished () const
int getNumEditable () const
bool isObsolete () const

Friends

class MultiDataModel

Detailed Description

Definition at line 289 of file messagemodel.h.

Constructor & Destructor Documentation

◆ MultiGroupItem()

MultiGroupItem::MultiGroupItem ( int oldCount,
GroupItem * groupItem,
bool writable )

Definition at line 656 of file messagemodel.cpp.

References MultiGroupItem(), GroupItem::messageCount(), GroupItem::messageItem(), and GroupItem::translationType().

Referenced by MultiGroupItem(), and MultiDataModel::append().

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

Member Function Documentation

◆ comment()

QString MultiGroupItem::comment ( ) const
inline

Definition at line 303 of file messagemodel.h.

◆ findMessage()

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

Definition at line 744 of file messagemodel.cpp.

References messageCount(), and multiMessageItem().

Here is the call graph for this function:

◆ findMessageById()

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

Definition at line 754 of file messagemodel.cpp.

References messageCount(), and multiMessageItem().

Here is the call graph for this function:

◆ firstNonobsoleteMessageIndex()

int MultiGroupItem::firstNonobsoleteMessageIndex ( int msgIdx) const

Definition at line 736 of file messagemodel.cpp.

◆ getNumEditable()

int MultiGroupItem::getNumEditable ( ) const
inline

Definition at line 307 of file messagemodel.h.

Referenced by MessageModel::data().

Here is the caller graph for this function:

◆ getNumFinished()

int MultiGroupItem::getNumFinished ( ) const
inline

Definition at line 306 of file messagemodel.h.

Referenced by MessageModel::data().

Here is the caller graph for this function:

◆ group()

QString MultiGroupItem::group ( ) const
inline

Definition at line 301 of file messagemodel.h.

◆ groupItem()

GroupItem * MultiGroupItem::groupItem ( int model) const
inline

Definition at line 294 of file messagemodel.h.

Referenced by MessageModel::data().

Here is the caller graph for this function:

◆ isObsolete()

bool MultiGroupItem::isObsolete ( ) const
inline

Definition at line 309 of file messagemodel.h.

References messageCount().

Here is the call graph for this function:

◆ messageCount()

int MultiGroupItem::messageCount ( ) const
inline

Definition at line 304 of file messagemodel.h.

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

Here is the caller graph for this function:

◆ messageItem()

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

Definition at line 297 of file messagemodel.h.

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

Here is the caller graph for this function:

◆ multiMessageItem()

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

Definition at line 295 of file messagemodel.h.

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

Here is the caller graph for this function:

◆ translationType()

TranslationType MultiGroupItem::translationType ( ) const
inline

Definition at line 302 of file messagemodel.h.

◆ MultiDataModel

friend class MultiDataModel
friend

Definition at line 312 of file messagemodel.h.


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