summaryrefslogtreecommitdiff
path: root/client/builder.cc
diff options
context:
space:
mode:
authorsenator <senator>2008-03-17 11:29:52 +0000
committersenator <senator>2008-03-17 11:29:52 +0000
commit96c3b5c064a26b8598943a122d9b6ecbdf1062e9 (patch)
treed7b11eaa9aa6884f014401df72fb21876c28326c /client/builder.cc
parent5c925e49369e7593a81cd199fb2791c707122cef (diff)
recent changes, dunno what exactly, but perhaps something with moving on to next dialog by clicking next
Diffstat (limited to 'client/builder.cc')
-rw-r--r--client/builder.cc18
1 files changed, 18 insertions, 0 deletions
diff --git a/client/builder.cc b/client/builder.cc
index 29c42c6..af44fd8 100644
--- a/client/builder.cc
+++ b/client/builder.cc
@@ -69,9 +69,11 @@ void Builder::recurser(QDomNode xml_node, QWidget *parent)
} else if(xml_elem.tagName() == "button") {
PushButton *pushbutton = new PushButton(xml_elem);
+ //connect(pushbutton, SIGNAL(act_continue()), main, SLOT(get_macro()));
connect(pushbutton, SIGNAL(act_commit()), this, SLOT(commit()));
connect(pushbutton, SIGNAL(act_reset()), this, SLOT(reset()));
connect(pushbutton, SIGNAL(act_cancel()), this, SLOT(cancel()));
+ connect(pushbutton, SIGNAL(act_continue()), this, SLOT(cont("fisk")));
widget = pushbutton;
} else if(xml_elem.tagName() == "textedit") {
@@ -190,3 +192,19 @@ void Builder::cancel()
{
printf("Builder -> cancelling...\n");
}
+
+void Builder::cont(QString name)
+{
+ /*
+ QVector< Widget* >::iterator i=widgets.begin();
+ while (i != widgets.end()) {
+ Widget* w = *i;
+
+ if(w->getName()
+ xml_string.append(" <field name=\"" + w->getName()
+ + "\" value=\"" + w->getValue() + "\"/>\n");
+ i++;
+ }
+ */
+ printf("%s : Builder -> continuing...\n", name.toStdString().c_str());
+}