projects
/
mverbiste
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Auto focus to word input.
[mverbiste]
/
mainwindow.h
diff --git
a/mainwindow.h
b/mainwindow.h
index
30fdaec
..
fec9694
100644
(file)
--- a/
mainwindow.h
+++ b/
mainwindow.h
@@
-9,6
+9,14
@@
#include <QtGui/QScrollArea>
#include <QtGui/QLabel>
#include <QtGui/QScrollArea>
#include <QtGui/QLabel>
+/* Verbiste */
+#include <iostream>
+#include <vector>
+#include <string.h>
+#include <verbiste/FrenchVerbDictionary.h>
+#include "gui/conjugation.h"
+using namespace verbiste;
+
namespace Ui {
class MainWindow;
}
namespace Ui {
class MainWindow;
}
@@
-33,6
+41,7
@@
public:
void setOrientation(ScreenOrientation orientation);
void showExpanded();
void setOrientation(ScreenOrientation orientation);
void showExpanded();
+ void initverbiste();
public slots:
void startLookup();
public slots:
void startLookup();
@@
-46,6
+55,8
@@
private:
QLineEdit *wordinput; // Word input
QPushButton *btnLookup; // Lookup button
QLabel *labVerb;
QLineEdit *wordinput; // Word input
QPushButton *btnLookup; // Lookup button
QLabel *labVerb;
+ std::string langCode;
+ FrenchVerbDictionary *freVerbDic;
};
#endif // MAINWINDOW_H
};
#endif // MAINWINDOW_H