23 #ifndef __INIVARIABLE_H__ 24 #define __INIVARIABLE_H__ 76 QString
valueString()
const {
return this->value().toString(); }
79 const IniVariable &operator=(
const char* str) {
return *
this = QString(str); }
97 QString
operator*()
const {
return value().toString(); }
102 operator QString ()
const {
return value().toString(); }
107 operator float()
const;
111 operator int()
const;
112 operator unsigned int()
const;
114 operator short()
const;
115 operator unsigned short()
const;
121 operator bool()
const;
126 void setValue(
const QVariant& value);
131 QVariant value()
const;
135 friend class TestReadINIList;
QString valueString() const
Returns the underlying value as a QString.
INI variable representation.
QString operator*() const
Attempts to convert the value to QString.
INI section representation.