From b8a793f4a1afcd27cf03da7b620dd7a4f7f5813f Mon Sep 17 00:00:00 2001 From: Arno Date: Mon, 1 Nov 2010 20:25:59 +0100 Subject: 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. --- consistencycheck.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'consistencycheck.h') diff --git a/consistencycheck.h b/consistencycheck.h index 15d0da7..49b9a8e 100644 --- a/consistencycheck.h +++ b/consistencycheck.h @@ -14,9 +14,10 @@ #include 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; }; -- cgit v1.2.3-70-g09d2