• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

lokalize

  • sources
  • kde-4.14
  • kdesdk
  • lokalize
  • src
  • catalog
Classes | Enumerations | Functions
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
Enumerator
Insert 
Delete 
InsertTag 
DeleteTag 
ToggleApprovement 
EquivTrans 
SetNote 
UpdatePhase 

Definition at line 37 of file cmd.h.

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

Definition at line 328 of file cmd.cpp.

void insertCatalogString ( Catalog *  catalog,
DocPosition  pos,
const CatalogString &  catStr,
int  start = 0 
)

Definition at line 421 of file cmd.cpp.

bool removeTargetSubstring ( Catalog *  catalog,
DocPosition  pos,
int  delStart = 0,
int  delLen = -1 
)

Definition at line 364 of file cmd.cpp.

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

KDE's Doxygen guidelines are available online.

lokalize

Skip menu "lokalize"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal