Removed system function invocations and placed forked execl instead
[vlp.git] / src / kernel / options.h
1 #ifndef _VLP_KERNEL_OPTIONS_H
2 #define _VLP_KERNEL_OPTIONS_H
3
4 #include <QtGui/QDialog>
5
6 #include "optionsdialog.h"
7
8 /**
9  * Options Dialog class
10  */
11 class OptionsDialog : public QDialog, private Ui::OptionsDialog {
12         Q_OBJECT
13 public:
14         OptionsDialog(QString configFilePath, QWidget * parent = 0);
15         ~OptionsDialog();
16
17         void saveConfig(QString fname);
18         void saveConfig(const char * fname);
19
20 private:
21         QString homeDir;
22
23         void loadConfig(const char * fname);
24
25 private slots:
26         void on_addConnectionButton_clicked();
27         void on_delConnectionButton_clicked();
28 };
29
30 #endif /* _VLP_KERNEL_OPTIONS_H */