Encapsulate some classes in namespaces
[vlp.git] / src / edit / PreferencesDialog.h
1 #ifndef _VLP_EDITOR_PREFERENCESDIALOG_H
2 #define _VLP_EDITOR_PREFERENCESDIALOG_H
3
4 #include <QtGui/QDialog>
5 #include <QtCore/QString>
6
7 #include "ui/dialogs/PreferencesDialog.h"
8
9 namespace loglan {
10 namespace vlp {
11
12 /**
13  * Program Unit Dialog class
14  * Displays dialog for generating code template for unit structure
15  */
16 class PreferencesDialog : public QDialog, private Ui::PreferencesDialog {
17 public:
18         /**
19          * Class constructor
20          */
21         PreferencesDialog(QWidget * parent = 0);
22
23         /**
24          * Class destuctor
25          */
26         ~PreferencesDialog();
27
28         /**
29          * Gets compiler path
30          *
31          * @return path to compiler
32          */
33         QString getCompilerPath();
34
35         /**
36          * Sets compiler path
37          *
38          * @param path compiler path
39          */
40         void setCompilerPath(QString path);
41
42         /**
43          * Gets files path
44          *
45          * @return path to files
46          */
47         QString getFilesPath();
48
49         /**
50          * Sets files path
51          *
52          * @param path files path
53          */
54         void setFilesPath(QString path);
55
56         /**
57          * Gets gen path
58          *
59          * @return path to gen
60          */
61         QString getGenPath();
62
63         /**
64          * Sets gen path
65          *
66          * @param path gen path
67          */
68         void setGenPath(QString path);
69 };
70
71 }
72 }
73
74 #endif /* _VLP_EDITOR_PREFERENCESDIALOG_H */