lokalize
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 ¬e, 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
void insertCatalogString | ( | Catalog * | catalog, |
DocPosition | pos, | ||
const CatalogString & | catStr, | ||
int | start | ||
) |
bool removeTargetSubstring | ( | Catalog * | catalog, |
DocPosition | pos, | ||
int | delStart, | ||
int | delLen | ||
) |
|
static |
|
static |
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.