X-Git-Url: https://vaikene.ee/gitweb/pswgen09.html?a=blobdiff_plain;ds=sidebyside;f=src%2Flibs%2FCommon%2Finifile.h;h=2ebe1c1c863c4ec340443e9d271900cb9f844453;hb=72ea4a16988f1c28e97064222e722f19bc31b3a6;hp=5392984dfec8645a9b07bea97a214d699ccbbab9;hpb=12fe56ffc347b9a7b2a5ec140ec874038cde8c3b;p=evaf
diff --git a/src/libs/Common/inifile.h b/src/libs/Common/inifile.h
index 5392984..2ebe1c1 100644
--- a/src/libs/Common/inifile.h
+++ b/src/libs/Common/inifile.h
@@ -59,7 +59,7 @@ namespace Internal {
* of different data types:
*
* @li Bool - '0', 'false', 'off', 'no' are equal to false and '1', 'true', 'on', 'yes' are equal to true;
- * @li Char - a single character or an ASCII code as '\0NNN' or '\0xNN';
+ * @li Char - a single character or an UTF-16 code as '\0NNNNNN' (oct) or '\0xNNNN' (hex);
* @li Date - date string in the ISO 8601 format YYYY-MM-DD;
* @li DateTime - date and time string in the ISO 8601 format YYY-MM-DDTHH:MM:SSTZD;
* @li Double - the decimal point is always '.' regardless of the locale;
@@ -119,7 +119,7 @@ public:
*
* @sa eVaf::Common::toVariant()
*/
- QVariant getValue(QString const & paramName, QVariant const & defaultValue = QVariant::Invalid);
+ QVariant getValue(QByteArray const & paramName, QVariant const & defaultValue = QVariant::Invalid);
/**
* Writes a value to the INI file.
@@ -134,7 +134,7 @@ public:
* The method returns true if the parameter value was written into the INI file and false if not. Use the errorString() method
* to get a human-readable error string if writing to the INI file fails.
*/
- bool setValue(QString const & paramName, QVariant const & value);
+ bool setValue(QByteArray const & paramName, QVariant const & value);
private: