Build with Qt 4.7. Add some debug directives.
[mverbiste] / mainwindow.h
index f4ac2e1..c02a6cb 100644 (file)
@@ -18,7 +18,8 @@
 #include "gui/conjugation.h"
 
 #ifndef QT_NO_DEBUG
-#include <QDebug>
+#include <QtCore/QDebug>
+#include <QtCore/QElapsedTimer>
 #endif
 
 using namespace verbiste;
@@ -84,6 +85,9 @@ private:
     FrenchVerbDictionary *freVerbDic;
 
     ResultPage* addResultPage(const std::string &labelText);
+#ifndef QT_NO_DEBUG
+    QElapsedTimer timer;
+#endif
 
 private slots:
     void clearResults();