lokalize
#include <catalogstring.h>
Public Member Functions | |
CatalogString () | |
CatalogString (QString str) | |
CatalogString (QString str, QByteArray tagsByteArray) | |
void | clear () |
void | insert (int position, const QString &str) |
bool | isEmpty () const |
void | remove (int position, int len) |
void | replace (int position, int len, const QString &str) |
QMap< QString, int > | tagIdToIndex () const |
QByteArray | tagsAsByteArray () const |
Public Attributes | |
QString | string |
QList< InlineTag > | tags |
Detailed Description
data structure used to pass info about inline elements a XLIFF tag is represented by a TAGRANGE_IMAGE_SYMBOL in the 'plainttext' and a struct TagRange
string has each XLIFF markup tag represented by 1 symbol ranges is set to list describing which tag (type, id) at which position
Definition at line 128 of file catalogstring.h.
Constructor & Destructor Documentation
|
inline |
Definition at line 133 of file catalogstring.h.
|
inline |
Definition at line 134 of file catalogstring.h.
CatalogString::CatalogString | ( | QString | str, |
QByteArray | tagsByteArray | ||
) |
Definition at line 211 of file catalogstring.cpp.
Member Function Documentation
|
inline |
Definition at line 143 of file catalogstring.h.
void CatalogString::insert | ( | int | position, |
const QString & | str | ||
) |
Definition at line 240 of file catalogstring.cpp.
|
inline |
Definition at line 144 of file catalogstring.h.
void CatalogString::remove | ( | int | position, |
int | len | ||
) |
Definition at line 234 of file catalogstring.cpp.
|
inline |
Definition at line 142 of file catalogstring.h.
Definition at line 187 of file catalogstring.cpp.
QByteArray CatalogString::tagsAsByteArray | ( | ) | const |
Definition at line 200 of file catalogstring.cpp.
Member Data Documentation
QString CatalogString::string |
Definition at line 130 of file catalogstring.h.
Definition at line 131 of file catalogstring.h.
The documentation for this struct was generated from the following files:
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.