projects
/
mverbiste
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change the order of initialization processes.
[mverbiste]
/
mainwindow.h
diff --git
a/mainwindow.h
b/mainwindow.h
index
d09491d
..
c02a6cb
100644
(file)
--- a/
mainwindow.h
+++ b/
mainwindow.h
@@
-16,6
+16,12
@@
#include <string.h>
#include <verbiste/FrenchVerbDictionary.h>
#include "gui/conjugation.h"
#include <string.h>
#include <verbiste/FrenchVerbDictionary.h>
#include "gui/conjugation.h"
+
+#ifndef QT_NO_DEBUG
+#include <QtCore/QDebug>
+#include <QtCore/QElapsedTimer>
+#endif
+
using namespace verbiste;
namespace Ui {
using namespace verbiste;
namespace Ui {
@@
-75,14
+81,17
@@
private:
QPushButton *btnClear; // Clear button
QLineEdit *wordinput; // Word input
QPushButton *btnLookup; // Lookup button
QPushButton *btnClear; // Clear button
QLineEdit *wordinput; // Word input
QPushButton *btnLookup; // Lookup button
- QLabel *labVerb;
std::string langCode;
FrenchVerbDictionary *freVerbDic;
ResultPage* addResultPage(const std::string &labelText);
std::string langCode;
FrenchVerbDictionary *freVerbDic;
ResultPage* addResultPage(const std::string &labelText);
+#ifndef QT_NO_DEBUG
+ QElapsedTimer timer;
+#endif
private slots:
void clearResults();
private slots:
void clearResults();
+ void startAgain();
};
};