wrongversion ///< The version of the file does not match ours
};
+
/// Method to check if a file is externally modified, used by
/// isExternallyModified()
/**
* checksum is accurate but slow, which can be a problem when it is
* frequently used, or used for a large file on a slow (network) file
* system.
+ *
+ * FIXME: replace this method with support/FileMonitor.
*/
enum CheckMethod {
checksum_method, ///< Use file checksum
public:
/** Once monitoring begins, the file will be monitored every
* interval ms.
+ *
+ * FIXME: rewrite and simplify using an encapsulation of QFileSystemWatcher.
*/
FileMonitor(FileName const & file_with_path, int interval);