summaryrefslogtreecommitdiff
path: root/src/safewritefile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/safewritefile.h')
-rw-r--r--src/safewritefile.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/safewritefile.h b/src/safewritefile.h
index 56bd7744..06c22acc 100644
--- a/src/safewritefile.h
+++ b/src/safewritefile.h
@@ -37,6 +37,10 @@ public:
void commit();
+ bool commitIfDifferent(uint &hash);
+
+ uint hash();
+
private:
QString m_FileName;
QTemporaryFile m_TempFile;