lokalize
catalogstring.h
Go to the documentation of this file.
78 InlineTag(int start_, int end_, InlineElement type_,QString id_=QString(),QString xid_=QString(),QString equivText_=QString(),QString ctype_=QString())
79 : start(start_), end(end_), type(type_), id(id_), xid(xid_), equivText(equivText_), ctype(ctype_){}
142 void replace(int position, int len, const QString& str){remove(position,len);insert(position,str);}
void clear()
QDataStream & operator>>(QDataStream &in, InlineTag &myObj)
Definition: catalogstring.cpp:252
Definition: catalogstring.h:62
Definition: catalogstring.h:58
Definition: catalogstring.h:63
static InlineElement getElementType(const QByteArray &)
Definition: catalogstring.cpp:58
Definition: catalogstring.h:55
Definition: catalogstring.h:64
Definition: catalogstring.h:53
InlineTag(int start_, int end_, InlineElement type_, QString id_=QString(), QString xid_=QString(), QString equivText_=QString(), QString ctype_=QString())
Definition: catalogstring.h:78
Definition: catalogstring.h:51
Definition: catalogstring.h:54
QDataStream & operator<<(QDataStream &out, const InlineTag &myObj)
Definition: catalogstring.cpp:247
Definition: catalogstring.h:59
void adaptCatalogString(CatalogString &target, const CatalogString &ref)
prepares
Definition: catalogstring.cpp:271
data structure used to pass info about inline elements a XLIFF tag is represented by a TAGRANGE_IMAGE...
Definition: catalogstring.h:128
Definition: catalogstring.h:61
Definition: catalogstring.h:57
Definition: catalogstring.h:52
void replace(int position, int len, const QString &str)
Definition: catalogstring.h:142
bool isEmpty() const
for situations when target doesn't contain tag (of the same type and with the same id) from source tr...
Definition: catalogstring.h:89
data structure used to pass info about inline elements a XLIFF tag is represented by a TAGRANGE_IMAGE...
Definition: catalogstring.h:44
InlineTag getPlaceholder() const
used to denote tag that doesn't present in target, to have parallel numbering in view ...
Definition: catalogstring.cpp:50
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:06 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:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.