lokalize
cmd.h File Reference
#include <QUndoCommand>
#include "pos.h"
#include "note.h"
#include "phase.h"
#include "state.h"
#include "catalogstring.h"
Include dependency graph for cmd.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
class | DelTagCmd |
class | DelTextCmd |
class | InsTagCmd |
class | InsTextCmd |
class | LokalizeTargetCmd |
class | LokalizeUnitCmd |
class | SetEquivTransCmd |
class | SetNoteCmd |
class | SetStateCmd |
class | UpdatePhaseCmd |
Enumerations | |
enum | Commands { Insert, Delete, InsertTag, DeleteTag, ToggleApprovement, EquivTrans, SetNote, UpdatePhase } |
Functions | |
bool | fillTagPlaces (QMap< int, int > &tagPlaces, const CatalogString &catalogString, int start, int len) |
void | insertCatalogString (Catalog *catalog, DocPosition pos, const CatalogString &catStr, int start=0) |
bool | removeTargetSubstring (Catalog *catalog, DocPosition pos, int delStart=0, int delLen=-1) |
Enumeration Type Documentation
enum Commands |
Function Documentation
bool fillTagPlaces | ( | QMap< int, int > & | tagPlaces, |
const CatalogString & | catalogString, | ||
int | start, | ||
int | len | ||
) |
CatalogString cmds helper function.
tagPlaces: pos -> int: >0 if both start and end parts of tag were (to be) deleted 1 means this is start, 2 means this is end
- Returns
- false if it can't find second part of any paired tag in the range
void insertCatalogString | ( | Catalog * | catalog, |
DocPosition | pos, | ||
const CatalogString & | catStr, | ||
int | start = 0 |
||
) |
bool removeTargetSubstring | ( | Catalog * | catalog, |
DocPosition | pos, | ||
int | delStart = 0 , |
||
int | delLen = -1 |
||
) |
This file is part of the KDE documentation.
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
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.