Skip to content
Snippets Groups Projects
Commit 1a37c73d authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[BL/IO] Move internal function to private section.

parent db6cb668
No related branches found
No related tags found
No related merge requests found
...@@ -36,9 +36,6 @@ public: ...@@ -36,9 +36,6 @@ public:
virtual int readFile(const QString &fileName); virtual int readFile(const QString &fileName);
protected: 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. /// 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 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. /// 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: ...@@ -47,6 +44,10 @@ protected:
/// Caches the actual file contents when reading. /// Caches the actual file contents when reading.
QByteArray _fileData; QByteArray _fileData;
private:
/// Check if the given xml-file is valid considering the schema-file used in
/// the constructor
int isValid() const;
private: private:
/// The actual file name when reading. /// The actual file name when reading.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment