summaryrefslogtreecommitdiffstats
path: root/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'mainwindow.h')
-rw-r--r--mainwindow.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/mainwindow.h b/mainwindow.h
index 410878f..10976c4 100644
--- a/mainwindow.h
+++ b/mainwindow.h
@@ -6,6 +6,7 @@
#include <QMouseEvent>
#include "dlgpreferences.h"
#include "interactioncanvas.h"
+#include "languagedialog.h"
namespace Ui {
class MainWindow;
@@ -22,14 +23,20 @@ public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
+ void loadLanguage(const QString &rLanguageFile);
+
+protected:
+ void mouseMoveEvent(QMouseEvent *mouseEvent);
+
private slots:
void on_actionPreferences_triggered();
+ void on_actionLanguage_triggered();
+
+ void changeEvent(QEvent *event);
private:
Ui::MainWindow *ui;
+ QTranslator m_translator; // contains the translations for this application
- // QWidget interface
-protected:
- void mouseMoveEvent(QMouseEvent *mouseEvent);
};
#endif // MAINWINDOW_H