X-Git-Url: http://git.maemo.org/git/?p=mverbiste;a=blobdiff_plain;f=mainwindow.h;h=49aa76f5d48f7d11e8cc7cff6662f1b8d15804d6;hp=b7357478b387b2772d2625c9e7df4f6c23a15c3e;hb=5193e53ba89b72f9760af7c8a02aab2f645d9c08;hpb=c25153fb17c4f0782b9ffc7206427a63ce096903 diff --git a/mainwindow.h b/mainwindow.h index b735747..49aa76f 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -9,6 +9,7 @@ #include #include #include +#include /* Verbiste */ #include @@ -16,6 +17,13 @@ #include #include #include "gui/conjugation.h" +#include "about.h" + +#ifndef QT_NO_DEBUG +#include +#include +#endif + using namespace verbiste; namespace Ui { @@ -59,9 +67,9 @@ public: void showExpanded(); void initverbiste(); QVBoxLayout* makeResultCell(const VVS &tenseIterator, - const std::string &tenseName, - const std::string &inputWord, - FrenchVerbDictionary *verbDict); + const std::string &tenseName, + const std::string &inputWord, + FrenchVerbDictionary *verbDict); public slots: void startLookup(); @@ -75,10 +83,15 @@ private: QPushButton *btnClear; // Clear button QLineEdit *wordinput; // Word input QPushButton *btnLookup; // Lookup button + QMessageBox *msgbox; std::string langCode; FrenchVerbDictionary *freVerbDic; + AboutDialog *aboutDialog; ResultPage* addResultPage(const std::string &labelText); +#ifndef QT_NO_DEBUG + QElapsedTimer timer; +#endif private slots: void clearResults();