summaryrefslogtreecommitdiff
path: root/client/builder.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/builder.h')
-rw-r--r--client/builder.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/client/builder.h b/client/builder.h
index 6c0577d..586370d 100644
--- a/client/builder.h
+++ b/client/builder.h
@@ -28,23 +28,32 @@
#ifndef _BUILDER_H
#define _BUILDER_H
+#include "widgets/widget.h"
#include <QDomDocument>
#include <QWidget>
#include <QDomNode>
#include <QObject>
+#include <QVector>
class Builder : public QObject
{
Q_OBJECT
+
public:
Builder(QDomDocument *xml_doc);
~Builder();
- public slots:
+public slots:
+ void commit();
+ void reset();
+ void cancel();
private:
void recurser(QDomNode xml_node, QWidget *parent);
QDomDocument *xml_doc;
+ QVector< Widget* > widgets;
+ QString macro;
+ QString version;
};