X-Git-Url: https://vaikene.ee/gitweb/highlight.css?a=blobdiff_plain;f=src%2Flibs%2FCommon%2Finifile.h;h=b795e6a9435dc02dfc222c7af964094b93649801;hb=6230ebd0a05134031e52001c15473c3c3e6c7c1b;hp=59f6fa0b1ff10fea94cace947395669be72e217c;hpb=09e5758f2e8557be2f23ed7a8a51ca4ef855e9ab;p=evaf diff --git a/src/libs/Common/inifile.h b/src/libs/Common/inifile.h index 59f6fa0..b795e6a 100644 --- a/src/libs/Common/inifile.h +++ b/src/libs/Common/inifile.h @@ -22,6 +22,10 @@ #include "libcommon.h" +#include +#include +#include + namespace eVaf { namespace Common { namespace Internal { @@ -71,11 +75,6 @@ public: * The isValid() method returns true if the INI file is can be used. Use this * method after creating the object to verify that opening the INI file in the specified * mode succeeded. - * - * If the object is not valid, then: - * @li Writing to the INI file always fails; the internal cache is still updated and reading the parameter returns - * the new value; - * @li Reading from the INI file returns the cached value or the default value if no values with this name are written. */ bool isValid() const; @@ -119,9 +118,6 @@ 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. - * - * Writing to an invalid INI file always fails, but the value is still stored into the internal cache. Readin the same parameter - * value returns the new value even if it was actually not stored into the INI file. */ bool setValue(QString const & paramName, QVariant const & value); @@ -136,4 +132,4 @@ private: } // namespace eVaf::Common } // namespace eVaf -#endif // INIFILE_H +#endif // inifile.h