lokalize
gettextstorage.h
Go to the documentation of this file.
57 CatalogString catalogString(const DocPosition& pos) const{return pos.part==DocPosition::Target?targetWithTags(pos):sourceWithTags(pos);}
bool save(QIODevice *device, bool belongsToProject=false)
Definition: gettextstorage.cpp:89
bool isApproved(const DocPosition &pos) const
Definition: gettextstorage.cpp:368
int capabilities() const
Definition: gettextstorage.h:45
void targetInsert(const DocPosition &pos, const QString &arg)
Definition: gettextstorage.cpp:173
QVector< Note > notes(const DocPosition &pos) const
Definition: gettextstorage.cpp:295
Definition: pos.h:44
CatalogString sourceWithTags(DocPosition pos) const
Definition: gettextstorage.cpp:151
QVector< Note > developerNotes(const DocPosition &pos) const
Definition: gettextstorage.cpp:301
This class represents an entry in a catalog.
Definition: catalogitem.h:55
The class for exporting GNU gettext PO files.
Definition: gettextexport.h:53
QString id(const DocPosition &pos) const
entry id unique for this file
Definition: gettextstorage.cpp:349
QVector< AltTrans > altTrans(const DocPosition &pos) const
Definition: gettextstorage.cpp:205
CatalogString targetWithTags(DocPosition pos) const
Definition: gettextstorage.cpp:155
bool isEmpty(const DocPosition &pos) const
Definition: gettextstorage.cpp:380
CatalogString catalogString(const DocPosition &pos) const
Definition: gettextstorage.h:57
QStringList sourceAllForms(const DocPosition &pos, bool stripNewLines=false) const
all plural forms. pos.form doesn't matter
Definition: gettextstorage.cpp:195
QStringList matchData(const DocPosition &pos) const
user-invisible data for matching, e.g.
Definition: gettextstorage.cpp:334
QStringList context(const DocPosition &pos) const
Definition: gettextstorage.cpp:329
QString source(const DocPosition &pos) const
flat-model interface (ignores XLIFF grouping)
Definition: gettextstorage.cpp:160
Note setNote(DocPosition pos, const Note ¬e)
Definition: gettextstorage.cpp:243
QStringList sourceFiles(const DocPosition &pos) const
Definition: gettextstorage.cpp:307
HISTORY: this was a base class for Catalog import plugins in KBabel, but this architecture isn't not ...
Definition: catalogfileplugin.h:85
void targetDelete(const DocPosition &pos, int count)
edit operations used by undo/redo system and sync-mode
Definition: gettextstorage.cpp:169
data structure used to pass info about inline elements a XLIFF tag is represented by a TAGRANGE_IMAGE...
Definition: catalogstring.h:128
void setApproved(const DocPosition &pos, bool approved)
Definition: gettextstorage.cpp:372
QStringList targetAllForms(const DocPosition &pos, bool stripNewLines=false) const
Definition: gettextstorage.cpp:200
InlineTag targetDeleteTag(const DocPosition &)
Definition: gettextstorage.cpp:189
void setTarget(const DocPosition &pos, const QString &arg)
Definition: gettextstorage.cpp:177
QString target(const DocPosition &pos) const
Definition: gettextstorage.cpp:164
void targetInsertTag(const DocPosition &, const InlineTag &)
Definition: gettextstorage.cpp:183
Implementation of storage for Gettext PO.
Definition: gettextstorage.h:39
bool isPlural(const DocPosition &pos) const
Definition: gettextstorage.cpp:363
data structure used to pass info about inline elements a XLIFF tag is represented by a TAGRANGE_IMAGE...
Definition: catalogstring.h:44
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:07 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:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.