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