lokalize
InsTextCmd Class Reference
#include <cmd.h>
Inheritance diagram for InsTextCmd:

Public Member Functions | |
InsTextCmd (Catalog *catalog, const DocPosition &pos, const QString &str) | |
~InsTextCmd () | |
void | doRedo () |
void | doUndo () |
int | id () const |
bool | mergeWith (const QUndoCommand *other) |
![]() | |
LokalizeTargetCmd (Catalog *catalog, const DocPosition &pos, const QString &name) | |
virtual | ~LokalizeTargetCmd () |
void | redo () |
void | undo () |
![]() | |
LokalizeUnitCmd (Catalog *catalog, const DocPosition &pos, const QString &name) | |
virtual | ~LokalizeUnitCmd () |
DocPosition | pos () const |
Additional Inherited Members | |
![]() | |
virtual void | setJumpingPos () |
![]() | |
QString | _prevTargetPhase |
![]() | |
Catalog * | _catalog |
bool | _firstModificationForThisEntry |
DocPosition | _pos |
QString | _prevPhase |
Detailed Description
how undo system works: undo() and redo() functions call appropriate private method of Catalog to change catalog contents, then set DocPosition (posBuffer var in Catalog), which is used to navigate editor to appr.
place Do insert text
Constructor & Destructor Documentation
InsTextCmd::InsTextCmd | ( | Catalog * | catalog, |
const DocPosition & | pos, | ||
const QString & | str | ||
) |
Member Function Documentation
|
virtual |
Implements LokalizeUnitCmd.
|
virtual |
Implements LokalizeUnitCmd.
bool InsTextCmd::mergeWith | ( | const QUndoCommand * | other | ) |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:03:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:03:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.