#include <QLanguage.hpp>
Public Member Functions | |
bool | isLoaded () const |
Method for getting is object loaded. More... | |
QStringList | keys () |
Method for getting available keys. More... | |
bool | load (QIODevice *device) |
Method for parsing. More... | |
QStringList | names (const QString &key) |
Method for getting names from key. More... | |
QLanguage (QIODevice *device=nullptr, QObject *parent=nullptr) | |
Constructor. More... | |
Private Attributes | |
QMap< QString, QStringList > | m_list |
bool | m_loaded |
Class, that describes object for parsing language file.
Definition at line 14 of file QLanguage.hpp.
Constructor.
parent | Pointer to parent QObject. |
Definition at line 8 of file QLanguage.cpp.
bool QLanguage::isLoaded | ( | ) | const |
Method for getting is object loaded.
Definition at line 79 of file QLanguage.cpp.
QStringList QLanguage::keys | ( | ) |
Method for getting available keys.
Definition at line 69 of file QLanguage.cpp.
bool QLanguage::load | ( | QIODevice * | device | ) |
Method for parsing.
device | Pointer to device. |
Definition at line 16 of file QLanguage.cpp.
QStringList QLanguage::names | ( | const QString & | key | ) |
Method for getting names from key.
name |
Definition at line 74 of file QLanguage.cpp.
|
private |
Definition at line 58 of file QLanguage.hpp.
|
private |
Definition at line 53 of file QLanguage.hpp.