lokalize
cmd.h
Go to the documentation of this file.
216 bool fillTagPlaces(QMap<int,int>& tagPlaces, const CatalogString& catalogString, int start, int len);
218 void insertCatalogString(Catalog* catalog, DocPosition pos, const CatalogString& catStr, int start=0);
bool _firstModificationForThisEntry
Definition: cmd.h:64
SetEquivTransCmd(Catalog *catalog, const DocPosition &pos, bool equivTrans)
Definition: cmd.cpp:307
how undo system works: undo() and redo() functions call appropriate private method of Catalog to chan...
Definition: cmd.h:85
static void push(Catalog *catalog, const DocPosition &pos, bool approved)
Definition: cmd.cpp:182
LokalizeTargetCmd(Catalog *catalog, const DocPosition &pos, const QString &name)
Definition: cmd.cpp:75
LokalizeUnitCmd(Catalog *catalog, const DocPosition &pos, const QString &name)
Definition: cmd.cpp:38
bool removeTargetSubstring(Catalog *catalog, DocPosition pos, int delStart=0, int delLen=-1)
Definition: cmd.cpp:364
virtual void doUndo()=0
Definition: cmd.h:41
Definition: cmd.h:196
InsTagCmd(Catalog *catalog, const DocPosition &pos, const InlineTag &tag)
offset is taken from tag and not from pos
Definition: cmd.cpp:209
virtual void doRedo()=0
Definition: cmd.h:99
Definition: cmd.h:112
static void instantiateAndPush(Catalog *catalog, const DocPosition &pos, TargetState state)
Definition: cmd.cpp:186
bool fillTagPlaces(QMap< int, int > &tagPlaces, const CatalogString &catalogString, int start, int len)
CatalogString cmds helper function.
Definition: cmd.cpp:328
Definition: phase.h:34
virtual void setJumpingPos()
may be overridden to set customized pos alternatively customized pos may be set manually in do*() ...
Definition: cmd.cpp:68
InsTextCmd(Catalog *catalog, const DocPosition &pos, const QString &str)
Definition: cmd.cpp:93
data structure used to pass info about inline elements a XLIFF tag is represented by a TAGRANGE_IMAGE...
Definition: catalogstring.h:128
SetNoteCmd(Catalog *catalog, const DocPosition &pos, const Note ¬e)
pos.form is note number
Definition: cmd.cpp:252
void insertCatalogString(Catalog *catalog, DocPosition pos, const CatalogString &catStr, int start=0)
Definition: cmd.cpp:421
Definition: cmd.h:42
void setJumpingPos()
may be overridden to set customized pos alternatively customized pos may be set manually in do*() ...
Definition: cmd.cpp:277
Definition: cmd.h:41
This class represents a catalog It uses CatalogStorage interface to work with catalogs in different f...
Definition: catalog.h:74
DelTextCmd(Catalog *catalog, const DocPosition &pos, const QString &str)
Definition: cmd.cpp:136
Definition: cmd.h:45
Definition: cmd.h:68
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: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.