6459295432c2828322c37e278340760c41f8e40f
[vlp.git] / src / kernel / OptionsDialog.h
1 #ifndef _VLP_KERNEL_OPTIONS_H
2 #define _VLP_KERNEL_OPTIONS_H
3
4 #include <QtGui/QDialog>
5
6 #include "ui/dialogs/OptionsDialog.h"
7
8 namespace loglan {
9 namespace vlp {
10 namespace dialog {
11
12 /**
13  * Options Dialog class
14  */
15 class OptionsDialog : public QDialog, private Ui::OptionsDialog {
16         Q_OBJECT
17 public:
18         OptionsDialog(QString configFilePath, QWidget * parent = 0);
19         ~OptionsDialog();
20
21         void saveConfig(QString fname);
22         void saveConfig(const char * fname);
23
24 private:
25         QString homeDir;
26
27         void loadConfig(const char * fname);
28
29 private slots:
30         void on_addConnectionButton_clicked();
31         void on_delConnectionButton_clicked();
32 };
33
34 }
35 }
36 }
37
38 #endif /* _VLP_KERNEL_OPTIONS_H */