Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <messagemodel.h>
Public Member Functions | |
MessageItem (const TranslatorMessage &message) | |
bool | danger () const |
void | setDanger (bool danger) |
void | setTranslation (const QString &translation) |
QString | id () const |
QString | context () const |
QString | text () const |
QString | pluralText () const |
QString | comment () const |
QString | fileName () const |
QString | extraComment () const |
QString | translatorComment () const |
void | setTranslatorComment (const QString &cmt) |
int | lineNumber () const |
QString | translation () const |
QStringList | translations () const |
void | setTranslations (const QStringList &translations) |
TranslatorMessage::Type | type () const |
void | setType (TranslatorMessage::Type type) |
bool | isFinished () const |
bool | isUnfinished () const |
bool | isObsolete () const |
const TranslatorMessage & | message () const |
bool | compare (const QString &findText, bool matchSubstring, Qt::CaseSensitivity cs) const |
Definition at line 22 of file messagemodel.h.
QT_BEGIN_NAMESPACE MessageItem::MessageItem | ( | const TranslatorMessage & | message | ) |
Definition at line 27 of file messagemodel.cpp.
|
inline |
Definition at line 37 of file messagemodel.h.
bool MessageItem::compare | ( | const QString & | findText, |
bool | matchSubstring, | ||
Qt::CaseSensitivity | cs ) const |
Definition at line 36 of file messagemodel.cpp.
|
inline |
Definition at line 34 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().
|
inline |
Definition at line 27 of file messagemodel.h.
Referenced by MessageModel::data(), MultiDataModel::setDanger(), and MultiDataModel::setFinished().
|
inline |
Definition at line 39 of file messagemodel.h.
|
inline |
Definition at line 38 of file messagemodel.h.
|
inline |
Definition at line 33 of file messagemodel.h.
|
inline |
Definition at line 51 of file messagemodel.h.
References TranslatorMessage::Finished, and type().
Referenced by MessageModel::data(), MultiDataModel::setDanger(), and DataModel::updateStatistics().
|
inline |
Definition at line 53 of file messagemodel.h.
References TranslatorMessage::Obsolete, type(), and TranslatorMessage::Vanished.
Referenced by MessageModel::data(), and DataModel::updateStatistics().
|
inline |
Definition at line 52 of file messagemodel.h.
References type(), and TranslatorMessage::Unfinished.
Referenced by DataModel::updateStatistics().
|
inline |
Definition at line 42 of file messagemodel.h.
|
inline |
Definition at line 55 of file messagemodel.h.
Referenced by PRESUBMIT_test_mocks.MockOutputApi.PresubmitResult::__repr__(), MessageModel::data(), DataModel::release(), MessageEditor::showMessage(), and similarTextHeuristicCandidates().
|
inline |
Definition at line 36 of file messagemodel.h.
|
inline |
Definition at line 28 of file messagemodel.h.
Referenced by MultiDataModel::setDanger().
Definition at line 30 of file messagemodel.h.
|
inline |
Definition at line 45 of file messagemodel.h.
Definition at line 41 of file messagemodel.h.
|
inline |
Definition at line 49 of file messagemodel.h.
Referenced by MultiDataModel::setFinished().
|
inline |
Definition at line 35 of file messagemodel.h.
|
inline |
Definition at line 43 of file messagemodel.h.
|
inline |
Definition at line 44 of file messagemodel.h.
|
inline |
Definition at line 40 of file messagemodel.h.
|
inline |
Definition at line 48 of file messagemodel.h.
Referenced by isFinished(), isObsolete(), isUnfinished(), and MultiDataModel::setFinished().