lokalize
#include <tsstorage.h>
Public Member Functions | |
TsStorage () | |
~TsStorage () | |
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 |
bool | isEmpty (const DocPosition &pos) const |
bool | isEquivTrans (const DocPosition &pos) const |
bool | isObsolete (int entry) 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) |
void | setEquivTrans (const DocPosition &pos, bool equivTrans) |
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) |
void | targetInsert (const DocPosition &pos, const QString &arg) |
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 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 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 |
virtual InlineTag | targetDeleteTag (const DocPosition &) |
virtual void | targetInsertTag (const DocPosition &, const InlineTag &) |
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
Definition at line 32 of file tsstorage.h.
Constructor & Destructor Documentation
TsStorage::TsStorage | ( | ) |
Definition at line 54 of file tsstorage.cpp.
TsStorage::~TsStorage | ( | ) |
Definition at line 59 of file tsstorage.cpp.
Member Function Documentation
|
virtual |
Implements CatalogStorage.
Definition at line 327 of file tsstorage.cpp.
|
virtual |
Implements CatalogStorage.
Definition at line 63 of file tsstorage.cpp.
|
virtual |
Implements CatalogStorage.
Definition at line 265 of file tsstorage.cpp.
|
virtual |
Implements CatalogStorage.
Definition at line 432 of file tsstorage.cpp.
|
virtual |
Implements CatalogStorage.
Definition at line 374 of file tsstorage.cpp.
|
virtual |
entry id unique for this file
pos.form doesn't matter
Implements CatalogStorage.
Definition at line 455 of file tsstorage.cpp.
|
virtual |
Reimplemented from CatalogStorage.
Definition at line 484 of file tsstorage.cpp.
bool TsStorage::isEmpty | ( | ) | const |
|
virtual |
Implements CatalogStorage.
Definition at line 496 of file tsstorage.cpp.
|
virtual |
Reimplemented from CatalogStorage.
Definition at line 502 of file tsstorage.cpp.
|
virtual |
Reimplemented from CatalogStorage.
Definition at line 490 of file tsstorage.cpp.
|
virtual |
Implements CatalogStorage.
Definition at line 465 of file tsstorage.cpp.
|
virtual |
Implements CatalogStorage.
Definition at line 70 of file tsstorage.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 449 of file tsstorage.cpp.
|
inlinevirtual |
Implements CatalogStorage.
Definition at line 85 of file tsstorage.h.
|
virtual |
Implements CatalogStorage.
Definition at line 358 of file tsstorage.cpp.
|
virtual |
Implements CatalogStorage.
Definition at line 107 of file tsstorage.cpp.
|
virtual |
Reimplemented from CatalogStorage.
Definition at line 472 of file tsstorage.cpp.
|
virtual |
Reimplemented from CatalogStorage.
Definition at line 507 of file tsstorage.cpp.
|
virtual |
|
virtual |
Implements CatalogStorage.
Definition at line 319 of file tsstorage.cpp.
|
virtual |
Implements CatalogStorage.
Definition at line 117 of file tsstorage.cpp.
|
virtual |
flat-model interface (ignores XLIFF grouping)
format-specific texts like " for gettext PO should be eliminated
Implements CatalogStorage.
Definition at line 279 of file tsstorage.cpp.
|
inlinevirtual |
all plural forms. pos.form doesn't matter TODO
Implements CatalogStorage.
Definition at line 54 of file tsstorage.h.
|
virtual |
Implements CatalogStorage.
Definition at line 339 of file tsstorage.cpp.
|
virtual |
Implements CatalogStorage.
Definition at line 274 of file tsstorage.cpp.
|
virtual |
Implements CatalogStorage.
Definition at line 283 of file tsstorage.cpp.
|
inlinevirtual |
Implements CatalogStorage.
Definition at line 55 of file tsstorage.h.
|
virtual |
edit operations used by undo/redo system and sync-mode
Implements CatalogStorage.
Definition at line 289 of file tsstorage.cpp.
|
virtual |
Implements CatalogStorage.
Definition at line 295 of file tsstorage.cpp.
|
virtual |
Implements CatalogStorage.
Definition at line 270 of file tsstorage.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.