lokalize
catalogstorage.h
Go to the documentation of this file.
75 virtual void setTarget(const DocPosition& pos, const QString& arg)=0;//called for mergeCatalog TODO switch to CatalogString
93 virtual QString setPhase(const DocPosition& pos, const QString& phase){Q_UNUSED(pos); Q_UNUSED(phase); return QString();}
96 virtual QVector<Note> phaseNotes(const QString& phase) const{Q_UNUSED(phase); return QVector<Note>();}
97 virtual QVector<Note> setPhaseNotes(const QString& phase, QVector<Note> notes){Q_UNUSED(phase); Q_UNUSED(notes); return QVector<Note>();}
virtual void targetInsert(const DocPosition &pos, const QString &arg)=0
virtual QString source(const DocPosition &pos) const =0
flat-model interface (ignores XLIFF grouping)
virtual TargetState setState(const DocPosition &, TargetState)
Definition: catalogstorage.h:136
virtual CatalogString catalogString(const DocPosition &pos) const =0
virtual void targetInsertTag(const DocPosition &, const InlineTag &)
Definition: catalogstorage.h:76
virtual void setApproved(const DocPosition &, bool approved)
Definition: catalogstorage.h:134
virtual QVector< Note > notes(const DocPosition &pos) const =0
virtual QString target(const DocPosition &pos) const =0
virtual void setTarget(const DocPosition &pos, const QString &arg)=0
virtual QString mimetype() const =0
Definition: state.h:32
virtual QString phase(const DocPosition &pos) const
Definition: catalogstorage.h:94
virtual QStringList sourceFiles(const DocPosition &pos) const =0
virtual QVector< Note > phaseNotes(const QString &phase) const
Definition: catalogstorage.h:96
virtual CatalogString sourceWithTags(DocPosition pos) const =0
virtual bool isEquivTrans(const DocPosition &) const
Definition: catalogstorage.h:130
virtual CatalogString targetWithTags(DocPosition pos) const =0
virtual QVector< Note > developerNotes(const DocPosition &pos) const =0
virtual QStringList sourceAllForms(const DocPosition &pos, bool stripNewLines=false) const =0
all plural forms. pos.form doesn't matter
Definition: phase.h:34
virtual int unitById(const QString &id) const
Definition: catalogstorage.h:141
virtual QStringList targetAllForms(const DocPosition &pos, bool stripNewLines=false) const =0
virtual QVector< Note > setPhaseNotes(const QString &phase, QVector< Note > notes)
Definition: catalogstorage.h:97
virtual void setEquivTrans(const DocPosition &, bool equivTrans)
Definition: catalogstorage.h:131
virtual QVector< AltTrans > altTrans(const DocPosition &pos) const =0
virtual bool save(QIODevice *device, bool belongsToProject=false)=0
data structure used to pass info about inline elements a XLIFF tag is represented by a TAGRANGE_IMAGE...
Definition: catalogstring.h:128
virtual bool isEmpty(const DocPosition &) const =0
virtual bool isPlural(const DocPosition &) const =0
virtual int size() const =0
virtual Note setNote(DocPosition pos, const Note ¬e)=0
virtual void targetDelete(const DocPosition &pos, int count)=0
edit operations used by undo/redo system and sync-mode
virtual QMap< QString, Tool > allTools() const
Definition: catalogstorage.h:80
virtual int load(QIODevice *device)=0
virtual int capabilities() const =0
virtual TargetState state(const DocPosition &) const
Definition: catalogstorage.h:135
virtual QStringList context(const DocPosition &) const =0
virtual InlineTag targetDeleteTag(const DocPosition &)
Definition: catalogstorage.h:77
data structure used to pass info about inline elements a XLIFF tag is represented by a TAGRANGE_IMAGE...
Definition: catalogstring.h:44
virtual QStringList matchData(const DocPosition &) const =0
user-invisible data for matching, e.g.
virtual QString setPhase(const DocPosition &pos, const QString &phase)
Definition: catalogstorage.h:93
virtual bool isApproved(const DocPosition &) const
Definition: catalogstorage.h:133
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.