4 #include <QXmlStreamReader>
8 #include <QCoreApplication>
49 void read(QIODevice *device);
Definition: LightApp_Msg.h:30
void AddMsg(Message &msg)
Definition: LightApp_Msg.h:34
QList< Message > & GetMessageList()
Definition: LightApp_Msg.h:37
Context(const QString &name)
Definition: LightApp_Msg.h:32
QString Context_name
Definition: LightApp_Msg.h:40
void AddMsg(const QString &src, const QString &trl)
Definition: LightApp_Msg.h:35
Message * GetMessagebySrc(const QString &)
Definition: LightApp_Msg.cxx:19
QString ExportContext()
Definition: LightApp_Msg.cxx:5
QString GetContext_name()
Definition: LightApp_Msg.h:33
QList< Message > Message_list
Definition: LightApp_Msg.h:41
Definition: LightApp_Msg.h:45
void readContext()
Definition: LightApp_Msg.cxx:89
void readMessage()
Definition: LightApp_Msg.cxx:112
void readSrc(Message &msg)
Definition: LightApp_Msg.cxx:131
QXmlStreamReader xmlReader
Definition: LightApp_Msg.h:54
Context * GetContextbyName(const QString &name)
Definition: LightApp_Msg.cxx:30
bool HaveContext(const QString &name)
Definition: LightApp_Msg.cxx:44
void readTranslation(Message &msg)
Definition: LightApp_Msg.cxx:140
std::unique_ptr< QList< Context > > Context_list
Definition: LightApp_Msg.h:55
void read(QIODevice *device)
Definition: LightApp_Msg.cxx:66
QString write()
Definition: LightApp_Msg.cxx:55
LightApp_Msg_handling(std::unique_ptr< QList< Context >> Context_list)
Definition: LightApp_Msg.h:47
QString header
Definition: LightApp_Msg.h:56
Definition: LightApp_Msg.h:17
QString GetSource() const
Definition: LightApp_Msg.h:20
Message(const QString &src, const QString &trl)
Definition: LightApp_Msg.h:19
QString source
Definition: LightApp_Msg.h:25
QString GetTranslation() const
Definition: LightApp_Msg.h:21
void Set_Source(const QString &str)
Definition: LightApp_Msg.h:22
void Set_Translation(const QString &str)
Definition: LightApp_Msg.h:23
QString translation
Definition: LightApp_Msg.h:26
Definition: LightApp_Msg.h:14