summaryrefslogtreecommitdiffstats
path: root/consistencycheck.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2010-11-01 20:25:59 +0100
committerArno <am@disconnect.de>2010-11-01 20:25:59 +0100
commitb8a793f4a1afcd27cf03da7b620dd7a4f7f5813f (patch)
tree7940c9614e0d5608c0fa05716ccf6d8a81b46571 /consistencycheck.h
parent78d26758184cd23b0ea27ab714a9e1d1c3aeba9b (diff)
downloadSheMov-b8a793f4a1afcd27cf03da7b620dd7a4f7f5813f.tar.gz
SheMov-b8a793f4a1afcd27cf03da7b620dd7a4f7f5813f.tar.bz2
SheMov-b8a793f4a1afcd27cf03da7b620dd7a4f7f5813f.zip
Finished database consistency check
Made the database consistency check work and added a filter to only show error messages in the output. The cause of the inconsistency still has to be investigated, though.
Diffstat (limited to 'consistencycheck.h')
-rw-r--r--consistencycheck.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/consistencycheck.h b/consistencycheck.h
index 15d0da7..49b9a8e 100644
--- a/consistencycheck.h
+++ b/consistencycheck.h
@@ -14,9 +14,10 @@
#include <QMutex>
class QPushButton;
-class QTextEdit;
+class QPlainTextEdit;
class QLabel;
class QString;
+class QCheckBox;
class ConsistencyChecker;
class ConsistencyCheck : public QDialog {
@@ -29,13 +30,15 @@ class ConsistencyCheck : public QDialog {
void startChecker(int checkerType);
void addMessage(const QString &message);
void cancelExit();
+ void showErrorsChanged(int state);
private:
QPushButton *mCancelExit;
QPushButton *mCheckDb;
QPushButton *mCheckFs;
- QTextEdit *mDisplay;
+ QPlainTextEdit *mDisplay;
QLabel *mCheckLabel;
+ QCheckBox *mErrorsOnly;
ConsistencyChecker *mChecker;
};