#include <Translation.h>
Public Member Functions | |
Translation () | |
Translation (const QString lang, const QString word=QString(), const QString alt=QString()) | |
Translation (const Translation &trans) | |
~Translation () | |
const QString | getLanguage () const |
void | setLanguage (const QString &language) |
const QString | getWord () const |
void | setWord (const QString &word) |
const QString | getAlt () const |
void | setAlt (const QString &alt) |
Friends | |
QDataStream & | operator<< (QDataStream &out, const Translation &translation) |
QDataStream & | operator>> (QDataStream &in, Translation &translation) |
Definition at line 8 of file Translation.h.
Translation::Translation | ( | ) |
Definition at line 3 of file Translation.cpp.
Translation::Translation | ( | const QString | lang, | |
const QString | word = QString() , |
|||
const QString | alt = QString() | |||
) |
Definition at line 6 of file Translation.cpp.
Translation::Translation | ( | const Translation & | trans | ) |
Definition at line 13 of file Translation.cpp.
Translation::~Translation | ( | ) |
Definition at line 10 of file Translation.cpp.
const QString Translation::getLanguage | ( | ) | const |
Definition at line 17 of file Translation.cpp.
void Translation::setLanguage | ( | const QString & | language | ) |
Definition at line 21 of file Translation.cpp.
const QString Translation::getWord | ( | ) | const |
Definition at line 25 of file Translation.cpp.
void Translation::setWord | ( | const QString & | word | ) |
Definition at line 29 of file Translation.cpp.
const QString Translation::getAlt | ( | ) | const |
Definition at line 33 of file Translation.cpp.
void Translation::setAlt | ( | const QString & | alt | ) |
Definition at line 37 of file Translation.cpp.
QDataStream& operator<< | ( | QDataStream & | out, | |
const Translation & | translation | |||
) | [friend] |
Definition at line 41 of file Translation.cpp.
QDataStream& operator>> | ( | QDataStream & | in, | |
Translation & | translation | |||
) | [friend] |
Definition at line 46 of file Translation.cpp.