umbrello 2.34.70-5524f40e1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
#include "shared.h"
#include <iostream>
#include <QFile>
#include <QStringList>
#include <QTextStream>
#include <QXmlStreamReader>
#include <QtDebug>
Functions | |
QDebug | operator<< (QDebug out, const QXmlStreamAttribute &a) |
QStringList | XMILanguagesAttributes () |
bool | extractAttributesFromXMI (const char *fileName, const QStringList &attributes, POMap &result) |
QString | fromGetTextString (QString s) |
QString | toXMLCharacterEntities (QString s) |
QString | escape (QString s) |
QString | toGetTextString (const QString &message) |
bool | fetchPoFile (const QString &fileName, TranslationMap &map) |
bool | applyTranslationToXMIFile (const char *fileName, const QStringList &attributes, TranslationMap &translations) |
bool applyTranslationToXMIFile | ( | const char * | fileName, |
const QStringList & | attributes, | ||
TranslationMap & | translations | ||
) |
QString escape | ( | QString | s | ) |
bool extractAttributesFromXMI | ( | const char * | fileName, |
const QStringList & | attributes, | ||
POMap & | result | ||
) |
Extract language related XML attributes from XMI file
fileName | file to extract attributes from |
attributes | List with attribute names to extract |
result | map with extracted results |
bool fetchPoFile | ( | const QString & | fileName, |
TranslationMap & | map | ||
) |
Fetch Pot file.
fileName | file to parse |
map | returned map with parsed items |
QString fromGetTextString | ( | QString | s | ) |
QDebug operator<< | ( | QDebug | out, |
const QXmlStreamAttribute & | a | ||
) |
QString toGetTextString | ( | const QString & | message | ) |
QString toXMLCharacterEntities | ( | QString | s | ) |
QStringList XMILanguagesAttributes | ( | ) |
Return list of xmi file attributes containing language information.