Changeset View
Changeset View
Standalone View
Standalone View
src/catalog/gettext/catalogitem.h
Show First 20 Lines • Show All 98 Lines • ▼ Show 20 Line(s) | 59 | public: | |||
---|---|---|---|---|---|
99 | } | 99 | } | ||
100 | QString msgctxt(const bool noNewlines = false) const; | 100 | QString msgctxt(const bool noNewlines = false) const; | ||
101 | const QString& msgid(const int form = 0) const | 101 | const QString& msgid(const int form = 0) const | ||
102 | { | 102 | { | ||
103 | return d.msgid(form); | 103 | return d.msgid(form); | ||
104 | } | 104 | } | ||
105 | const QString& msgstr(const int form = 0) const; | 105 | const QString& msgstr(const int form = 0) const; | ||
106 | const QVector<QString>& msgstrPlural() const; | 106 | const QVector<QString>& msgstrPlural() const; | ||
107 | const QVector<QString>& msgidPlural() const; | ||||
107 | enum Part {Source, Target}; | 108 | enum Part {Source, Target}; | ||
108 | QStringList allPluralForms(CatalogItem::Part, bool stripNewLines = false) const; | 109 | QStringList allPluralForms(CatalogItem::Part, bool stripNewLines = false) const; | ||
109 | bool prependEmptyForMsgid(const int form = 0) const; | 110 | bool prependEmptyForMsgid(const int form = 0) const; | ||
110 | bool prependEmptyForMsgstr(const int form = 0) const; | 111 | bool prependEmptyForMsgstr(const int form = 0) const; | ||
111 | bool keepEmptyMsgCtxt() const | 112 | bool keepEmptyMsgCtxt() const | ||
112 | { | 113 | { | ||
113 | return d._keepEmptyMsgCtxt; | 114 | return d._keepEmptyMsgCtxt; | ||
114 | } | 115 | } | ||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |