• 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
Functions
cmd.cpp File Reference
#include "cmd.h"
#include <QString>
#include <klocale.h>
#include <kdebug.h>
#include "catalog_private.h"
#include "catalogitem_private.h"
#include "catalog.h"
#include <project.h>
Include dependency graph for cmd.cpp:

Go to the source code of this file.

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)
 
bool removeTargetSubstring (Catalog *catalog, DocPosition pos, int delStart, int delLen)
 
static void setNote (Catalog &catalog, DocPosition &_pos, const Note &note, Note &resultNote)
 
static QString setPhaseForPart (Catalog *catalog, const QString &phase, DocPosition phasePos, DocPosition::Part part)
 

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 
)

Definition at line 421 of file cmd.cpp.

bool removeTargetSubstring ( Catalog *  catalog,
DocPosition  pos,
int  delStart,
int  delLen 
)

Definition at line 364 of file cmd.cpp.

static void setNote ( Catalog &  catalog,
DocPosition &  _pos,
const Note &  note,
Note &  resultNote 
)
static

Definition at line 259 of file cmd.cpp.

static QString setPhaseForPart ( Catalog *  catalog,
const QString &  phase,
DocPosition  phasePos,
DocPosition::Part  part 
)
static

Definition at line 45 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