#include "ui/VLPConfigWindow.h"
+namespace loglan {
+namespace vlp {
+
class VLPEntry {
public:
int ID;
class QInstall: public QMainWindow, private Ui::VLPConfigWindow {
Q_OBJECT
public:
- QMenuBar *bar;
Q3ListBox *nodelist;
- QPushButton *infob;
QList<VLPEntry*> Nodes;
+ /**
+ * Class constructor
+ */
QInstall();
- bool check_id(int);
- bool check_addr(char*);
+
+ /**
+ * Checks if node with specified id already exists
+ *
+ * @param id ID of the node to search for
+ * @return true if node with specified ID has been found, false otherwise
+ */
+ bool check_id(int id);
+
+ /**
+ * Checks if node with specified address already exists
+ *
+ * @param addr address of the node to search for
+ * @return true if node with specified address has been found, false otherwise
+ */
+ bool check_addr(char * addr);
public slots:
void AddNode();
void on_actionQuit_triggered();
};
+}
+}
+
#endif /* _VLP_LGCONFIG_H */