summaryrefslogtreecommitdiffstats
path: root/src/gui/selectnicform.h
diff options
context:
space:
mode:
authorLubos Dolezel <lubos@dolezel.info>2015-06-02 19:32:25 +0200
committerLubos Dolezel <lubos@dolezel.info>2015-06-02 19:32:25 +0200
commitab83223e1b5c7d34855d091e0c868462bd9452d1 (patch)
tree0890102c34727fcceea3d4e4c89ca560988b7f6d /src/gui/selectnicform.h
parentaa9b140a7bb49eb9666678bcbbb544cc536bd6de (diff)
downloadtwinkle-ab83223e1b5c7d34855d091e0c868462bd9452d1.tar
twinkle-ab83223e1b5c7d34855d091e0c868462bd9452d1.tar.gz
twinkle-ab83223e1b5c7d34855d091e0c868462bd9452d1.tar.lz
twinkle-ab83223e1b5c7d34855d091e0c868462bd9452d1.tar.xz
twinkle-ab83223e1b5c7d34855d091e0c868462bd9452d1.zip
Twinkle now compiles with Qt4 uic, but crashes at runtime (due to GUI calls from outside the main thread)
Diffstat (limited to 'src/gui/selectnicform.h')
-rw-r--r--src/gui/selectnicform.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/gui/selectnicform.h b/src/gui/selectnicform.h
new file mode 100644
index 0000000..f926ed3
--- /dev/null
+++ b/src/gui/selectnicform.h
@@ -0,0 +1,30 @@
+#ifndef SELECTNICFORM_H
+#define SELECTNICFORM_H
+#include <QDialog>
+#include "ui_selectnicform.h"
+
+class SelectNicForm : public QDialog, public Ui::SelectNicForm
+{
+ Q_OBJECT
+
+public:
+ SelectNicForm(QWidget* parent = 0, const char* name = 0, bool modal = false, Qt::WindowFlags fl = 0);
+ ~SelectNicForm();
+
+public slots:
+ virtual void setAsDefault( bool setIp );
+ virtual void setAsDefaultIp();
+ virtual void setAsDefaultNic();
+
+protected slots:
+ virtual void languageChange();
+
+private:
+ int idxDefault;
+
+ void init();
+
+};
+
+
+#endif