Documentation fixes
[vlp.git] / src / lgconfig / AddNodeDialog.h
1 #ifndef _VLP_LGCONFIG_ADDNODEDIALOG_H
2 #define _VLP_LGCONFIG_ADDNODEDIALOG_H
3
4 #include <QtGui/QDialog>
5 #include <QtCore/QString>
6
7 #include "ui/dialogs/AddNodeDialog.h"
8
9 /**
10  * @file
11  */
12
13 namespace loglan {
14 namespace vlp {
15 namespace dialog {
16
17 /**
18  * Program Unit Dialog class
19  * Displays dialog for generating code template for unit structure
20  */
21 class AddNodeDialog : public QDialog, private Ui::AddNodeDialog {
22         Q_OBJECT
23 public:
24         /**
25          * Class constructor
26          */
27         AddNodeDialog(QWidget * parent = 0);
28
29         /**
30          * Class destuctor
31          */
32         ~AddNodeDialog();
33
34         /**
35          * Gets user-passed node number
36          *
37          * @return node number entered in dialog
38          */
39         int getNodeNumber();
40
41         /**
42          * Gets user-passed ip address
43          *
44          * @return ip address entered in dialog
45          */
46         QString getIPAddress();
47
48         /**
49          * Gets user-passed connection type
50          *
51          * @return connection type entered in dialog
52          */
53         QString getConnectionType();
54
55         /**
56          * Gets user-passed programs directory
57          *
58          * @return programs directory entered in dialog
59          */
60         QString getProgramsDirectory();
61
62         /**
63          * Gets user-passed VLP directory
64          *
65          * @return VLP directory entered in dialog
66          */
67         QString getVLPDirectory();
68
69 private slots:
70         void on_programsDirButton_clicked();
71         void on_vlpDirButton_clicked();
72 };
73
74 }
75 }
76 }
77
78 #endif /* _VLP_EDITOR_PROGRAMSTRUCTUREDIALOG_H */