diff --git a/BaseLib/IO/XmlIO/Qt/XMLQtInterface.h b/BaseLib/IO/XmlIO/Qt/XMLQtInterface.h index 1dc95c44691f0546f8bf7ef735ca53b95163b82d..bc705948405e0cd445edb144cea11522596fae3e 100644 --- a/BaseLib/IO/XmlIO/Qt/XMLQtInterface.h +++ b/BaseLib/IO/XmlIO/Qt/XMLQtInterface.h @@ -36,9 +36,6 @@ public: virtual int readFile(const QString &fileName); protected: - /// Check if the given xml-file is valid considering the schema-file used in the constructor - int isValid() const; - /// Checks if a hash for the given data file exists to skip the time-consuming validation part. /// If a hash file exists _and_ the hash of the data file is the same as the content of the hash file the validation is skipped /// If no hash file exists, the xml-file is validated and a hash file is written if the xml-file was valid. @@ -47,6 +44,10 @@ protected: /// Caches the actual file contents when reading. QByteArray _fileData; +private: + /// Check if the given xml-file is valid considering the schema-file used in + /// the constructor + int isValid() const; private: /// The actual file name when reading.