Move editor dialogs to separate namespace
[vlp.git] / src / edit / PreferencesDialog.cpp
1 #include "PreferencesDialog.h"
2
3 namespace loglan {
4 namespace vlp {
5 namespace dialog {
6
7 PreferencesDialog::PreferencesDialog(QWidget * parent)
8         : QDialog(parent)
9 {
10         setupUi(this);
11
12         connect(buttonBox, SIGNAL(accepted()), this, SLOT(accept()));
13         connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject()));
14 }
15
16 PreferencesDialog::~PreferencesDialog()
17 {
18 }
19
20 QString PreferencesDialog::getCompilerPath()
21 {
22         return compilerPath->text();
23 }
24
25 void PreferencesDialog::setCompilerPath(QString path)
26 {
27         return compilerPath->setText(path);
28 }
29
30 QString PreferencesDialog::getFilesPath()
31 {
32         return filesPath->text();
33 }
34
35 void PreferencesDialog::setFilesPath(QString path)
36 {
37         return filesPath->setText(path);
38 }
39
40 QString PreferencesDialog::getGenPath()
41 {
42         return genPath->text();
43 }
44
45 void PreferencesDialog::setGenPath(QString path)
46 {
47         return genPath->setText(path);
48 }
49
50 }
51 }
52 }