lokalize
#include <gettextstorage.h>

Public Member Functions | |
| GettextStorage () | |
| ~GettextStorage () | |
| QVector< AltTrans > | altTrans (const DocPosition &pos) const |
| int | capabilities () const |
| CatalogString | catalogString (const DocPosition &pos) const |
| QStringList | context (const DocPosition &pos) const |
| QVector< Note > | developerNotes (const DocPosition &pos) const |
| QString | id (const DocPosition &pos) const |
| bool | isApproved (const DocPosition &pos) const |
| bool | isEmpty (const DocPosition &pos) const |
| bool | isPlural (const DocPosition &pos) const |
| int | load (QIODevice *device) |
| QStringList | matchData (const DocPosition &pos) const |
| QString | mimetype () const |
| QVector< Note > | notes (const DocPosition &pos) const |
| bool | save (QIODevice *device, bool belongsToProject=false) |
| void | setApproved (const DocPosition &pos, bool approved) |
| Note | setNote (DocPosition pos, const Note ¬e) |
| void | setTarget (const DocPosition &pos, const QString &arg) |
| int | size () const |
| QString | source (const DocPosition &pos) const |
| QStringList | sourceAllForms (const DocPosition &pos, bool stripNewLines=false) const |
| QStringList | sourceFiles (const DocPosition &pos) const |
| CatalogString | sourceWithTags (DocPosition pos) const |
| QString | target (const DocPosition &pos) const |
| QStringList | targetAllForms (const DocPosition &pos, bool stripNewLines=false) const |
| void | targetDelete (const DocPosition &pos, int count) |
| InlineTag | targetDeleteTag (const DocPosition &) |
| void | targetInsert (const DocPosition &pos, const QString &arg) |
| void | targetInsertTag (const DocPosition &, const InlineTag &) |
| CatalogString | targetWithTags (DocPosition pos) const |
Public Member Functions inherited from CatalogStorage | |
| CatalogStorage () | |
| virtual | ~CatalogStorage () |
| virtual QList< Phase > | allPhases () const |
| virtual QMap< QString, Tool > | allTools () const |
| virtual int | binUnitsCount () const |
| virtual bool | isEquivTrans (const DocPosition &) const |
| virtual bool | isObsolete (int entry) const |
| virtual QStringList | noteAuthors () const |
| int | numberOfEntries () const |
| int | numberOfPluralForms () const |
| virtual QString | phase (const DocPosition &pos) const |
| virtual Phase | phase (const QString &name) const |
| virtual QVector< Note > | phaseNotes (const QString &phase) const |
| virtual void | setEquivTrans (const DocPosition &, bool equivTrans) |
| virtual QString | setPhase (const DocPosition &pos, const QString &phase) |
| virtual QVector< Note > | setPhaseNotes (const QString &phase, QVector< Note > notes) |
| virtual TargetState | setState (const DocPosition &, TargetState) |
| void | setUrl (const KUrl &u) |
| QString | sourceLangCode () const |
| virtual TargetState | state (const DocPosition &) const |
| QString | targetLangCode () const |
| virtual int | unitById (const QString &id) const |
| virtual Phase | updatePhase (const Phase &) |
| const KUrl & | url () const |
Additional Inherited Members | |
Protected Attributes inherited from CatalogStorage | |
| int | m_numberOfPluralForms |
| QString | m_sourceLangCode |
| QString | m_targetLangCode |
| KUrl | m_url |
Detailed Description
Implementation of storage for Gettext PO.
Definition at line 39 of file gettextstorage.h.
Constructor & Destructor Documentation
| GettextStorage::GettextStorage | ( | ) |
Definition at line 45 of file gettextstorage.cpp.
| GettextStorage::~GettextStorage | ( | ) |
Definition at line 51 of file gettextstorage.cpp.
Member Function Documentation
|
virtual |
Implements CatalogStorage.
Definition at line 205 of file gettextstorage.cpp.
|
inlinevirtual |
Implements CatalogStorage.
Definition at line 45 of file gettextstorage.h.
|
inlinevirtual |
Implements CatalogStorage.
Definition at line 57 of file gettextstorage.h.
|
virtual |
Implements CatalogStorage.
Definition at line 329 of file gettextstorage.cpp.
|
virtual |
Implements CatalogStorage.
Definition at line 301 of file gettextstorage.cpp.
|
virtual |
entry id unique for this file
pos.form doesn't matter
Implements CatalogStorage.
Definition at line 349 of file gettextstorage.cpp.
|
virtual |
Reimplemented from CatalogStorage.
Definition at line 368 of file gettextstorage.cpp.
|
virtual |
Implements CatalogStorage.
Definition at line 380 of file gettextstorage.cpp.
|
virtual |
Implements CatalogStorage.
Definition at line 363 of file gettextstorage.cpp.
|
virtual |
Implements CatalogStorage.
Definition at line 57 of file gettextstorage.cpp.
|
virtual |
user-invisible data for matching, e.g.
during TM database lookup it is comprised of several strings
database stores them and thus it is possible to fuzzy-match 'matchData' later
it is responsibility of CatalogStorage implementations to separate/assemble the list properly according to the format specifics
pos.form doesn't matter
Implements CatalogStorage.
Definition at line 334 of file gettextstorage.cpp.
|
inlinevirtual |
Implements CatalogStorage.
Definition at line 87 of file gettextstorage.h.
|
virtual |
Implements CatalogStorage.
Definition at line 295 of file gettextstorage.cpp.
|
virtual |
Implements CatalogStorage.
Definition at line 89 of file gettextstorage.cpp.
|
virtual |
Reimplemented from CatalogStorage.
Definition at line 372 of file gettextstorage.cpp.
|
virtual |
Implements CatalogStorage.
Definition at line 243 of file gettextstorage.cpp.
|
virtual |
Implements CatalogStorage.
Definition at line 177 of file gettextstorage.cpp.
|
virtual |
Implements CatalogStorage.
Definition at line 120 of file gettextstorage.cpp.
|
virtual |
flat-model interface (ignores XLIFF grouping)
format-specific texts like " for gettext PO should be eliminated
Implements CatalogStorage.
Definition at line 160 of file gettextstorage.cpp.
|
virtual |
all plural forms. pos.form doesn't matter
Implements CatalogStorage.
Definition at line 195 of file gettextstorage.cpp.
|
virtual |
Implements CatalogStorage.
Definition at line 307 of file gettextstorage.cpp.
|
virtual |
Implements CatalogStorage.
Definition at line 151 of file gettextstorage.cpp.
|
virtual |
Implements CatalogStorage.
Definition at line 164 of file gettextstorage.cpp.
|
virtual |
Implements CatalogStorage.
Definition at line 200 of file gettextstorage.cpp.
|
virtual |
edit operations used by undo/redo system and sync-mode
Implements CatalogStorage.
Definition at line 169 of file gettextstorage.cpp.
|
virtual |
Reimplemented from CatalogStorage.
Definition at line 189 of file gettextstorage.cpp.
|
virtual |
Implements CatalogStorage.
Definition at line 173 of file gettextstorage.cpp.
|
virtual |
Reimplemented from CatalogStorage.
Definition at line 183 of file gettextstorage.cpp.
|
virtual |
Implements CatalogStorage.
Definition at line 155 of file gettextstorage.cpp.
The documentation for this class was generated from the following files:
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.
KDE API Reference
Public Member Functions inherited from