Public Member Functions | Private Attributes | List of all members
QLanguage Class Reference

#include <QLanguage.hpp>

Inheritance diagram for QLanguage:
Inheritance graph
[legend]

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
 

Detailed Description

Class, that describes object for parsing language file.

Definition at line 14 of file QLanguage.hpp.

Constructor & Destructor Documentation

◆ QLanguage()

QLanguage::QLanguage ( QIODevice *  device = nullptr,
QObject *  parent = nullptr 
)
explicit

Constructor.

Parameters
parentPointer to parent QObject.

Definition at line 8 of file QLanguage.cpp.

Member Function Documentation

◆ isLoaded()

bool QLanguage::isLoaded ( ) const

Method for getting is object loaded.

Definition at line 79 of file QLanguage.cpp.

◆ keys()

QStringList QLanguage::keys ( )

Method for getting available keys.

Definition at line 69 of file QLanguage.cpp.

◆ load()

bool QLanguage::load ( QIODevice *  device)

Method for parsing.

Parameters
devicePointer to device.
Returns
Success.

Definition at line 16 of file QLanguage.cpp.

◆ names()

QStringList QLanguage::names ( const QString &  key)

Method for getting names from key.

Parameters
name
Returns

Definition at line 74 of file QLanguage.cpp.

Member Data Documentation

◆ m_list

QMap< QString, QStringList > QLanguage::m_list
private

Definition at line 58 of file QLanguage.hpp.

◆ m_loaded

bool QLanguage::m_loaded
private

Definition at line 53 of file QLanguage.hpp.


The documentation for this class was generated from the following files:


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:50