lokalize
catalogitem.cpp
Go to the documentation of this file.
void squeeze()
QStringList msgstrAsList() const
Definition: catalogitem.cpp:313
bool isQtformat() const
void setMsgid(const QString &msg, const int form=0)
Definition: catalogitem.cpp:134
void setSyntaxError(bool)
iterator begin()
const QString & msgid(const int form=0) const
Definition: catalogitem.cpp:73
void operator=(const CatalogItem &rhs)
Definition: catalogitem.cpp:307
This class represents an entry in a catalog.
Definition: catalogitem.h:55
T & last()
bool isEmpty() const
bool prependEmptyForMsgid(const int form=0) const
Definition: catalogitem.cpp:86
QVector< T > toVector() const
T & first()
QString & remove(int position, int n)
void assign(const CatalogItemPrivate &other)
Definition: catalogitem_private.h:106
bool _keepEmptyMsgCtxt
Definition: catalogitem_private.h:66
bool keepEmptyMsgCtxt() const
Definition: catalogitem.cpp:129
int totalLines() const
returns the number of lines, the entry will need in a file
int indexOf(char ch, int from) const
bool _prependMsgIdEmptyLine
Definition: catalogitem_private.h:64
void setPlural(bool plural=true)
Definition: catalogitem.cpp:197
QString fromUtf8(const char *str, int size)
QString & insert(int position, QChar ch)
void resize(int size)
bool prependEmptyForMsgstr(const int form=0) const
Definition: catalogitem.cpp:91
void setMsgctxt(const QString &msg)
Definition: catalogitem.cpp:122
bool isEmpty() const
QByteArray & replace(int pos, int len, const char *after)
bool isNoQtformat() const
int count(char ch) const
QStringList & replaceInStrings(const QString &before, const QString &after, Qt::CaseSensitivity cs)
bool isUntranslated() const
Definition: catalogitem.cpp:212
void squeeze()
bool contains(QChar ch, Qt::CaseSensitivity cs) const
const QString & msgid(const int form) const
Definition: catalogitem_private.h:138
bool isUntranslated() const
Definition: catalogitem_private.h:119
const QVector< QString > & msgstrPlural() const
Definition: catalogitem.cpp:96
QStringList allPluralForms(CatalogItem::Part, bool stripNewLines=false) const
Definition: catalogitem.cpp:101
QString & replace(int position, int n, QChar after)
const T & at(int i) const
void setComment(const QString &com)
Definition: catalogitem.cpp:187
const QString & msgstr(const int form=0) const
Definition: catalogitem.cpp:78
bool isEmpty() const
int count() const
typedef ConstIterator
const QString & msgctxt(const bool noNewlines=false) const
Definition: catalogitem.cpp:67
void setMsgstr(const QString &msg, const int form=0)
Definition: catalogitem.cpp:163
void prepend(const T &value)
bool isCformat() const
bool _prependMsgStrEmptyLine
Definition: catalogitem_private.h:65
QVector< QString > _msgidPlural
Definition: catalogitem_private.h:71
bool _fuzzyCached
Definition: catalogitem_private.h:63
int size() const
iterator end()
QVector< QString > _msgstrPlural
Definition: catalogitem_private.h:72
void squeeze()
This class represents data for an entry in a catalog.
Definition: catalogitem_private.h:57
bool endsWith(const QByteArray &ba) const
bool isNoCformat() const
QByteArray toUtf8() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.