Go to the documentation of this file.
6 #include <QXmlStreamReader>
18 if (device ==
nullptr)
23 QXmlStreamReader
reader(device);
27 bool readText =
false;
33 if (
type == QXmlStreamReader::TokenType::StartElement)
35 if (
reader.name() ==
"section")
43 name =
reader.attributes().value(
"name").toString();
45 else if (
reader.name() ==
"name")
50 else if (
type == QXmlStreamReader::TokenType::Characters &&
53 list <<
reader.text().toString();
QMap< QString, QStringList > m_list
QStringList names(const QString &key)
Method for getting names from key.
QStringList keys()
Method for getting available keys.
QLanguage(QIODevice *device=nullptr, QObject *parent=nullptr)
Constructor.
static const char * reader(lua_State *L, void *ud, size_t *size)
bool load(QIODevice *device)
Method for parsing.
bool isLoaded() const
Method for getting is object loaded.
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:45