076681c471d44f1556a3d8a1721cb7715113a848
[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 namespace dialog {
12
13 /**
14  * Program Unit Dialog class
15  * Displays dialog for generating code template for unit structure
16  */
17 class PreferencesDialog : public QDialog, private Ui::PreferencesDialog {
18 public:
19         /**
20          * Class constructor
21          */
22         PreferencesDialog(QWidget * parent = 0);
23
24         /**
25          * Class destuctor
26          */
27         ~PreferencesDialog();
28
29         /**
30          * Gets compiler path
31          *
32          * @return path to compiler
33          */
34         QString getCompilerPath();
35
36         /**
37          * Sets compiler path
38          *
39          * @param path compiler path
40          */
41         void setCompilerPath(QString path);
42
43         /**
44          * Gets files path
45          *
46          * @return path to files
47          */
48         QString getFilesPath();
49
50         /**
51          * Sets files path
52          *
53          * @param path files path
54          */
55         void setFilesPath(QString path);
56
57         /**
58          * Gets gen path
59          *
60          * @return path to gen
61          */
62         QString getGenPath();
63
64         /**
65          * Sets gen path
66          *
67          * @param path gen path
68          */
69         void setGenPath(QString path);
70 };
71
72 }
73 }
74 }
75
76 #endif /* _VLP_EDITOR_PREFERENCESDIALOG_H */