summaryrefslogtreecommitdiff
path: root/client/macro.cc
diff options
context:
space:
mode:
authordeva <deva>2008-05-29 09:35:32 +0000
committerdeva <deva>2008-05-29 09:35:32 +0000
commit5d1efcc49ba47eaf5919923f6f6ba82566d9baaf (patch)
treeba07a263240a197aa0dceb53e9affaae1b0f1009 /client/macro.cc
parent9252ebd85447a3133701263b148adf77e325ecc0 (diff)
Rewrote the argument parser, for a more "The QT-Way"-like method.
Diffstat (limited to 'client/macro.cc')
-rw-r--r--client/macro.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/macro.cc b/client/macro.cc
index d06e4c0..7f8ea27 100644
--- a/client/macro.cc
+++ b/client/macro.cc
@@ -34,6 +34,8 @@
extern QString cpr;
extern QString user;
+extern QString host;
+extern quint16 port;
class MyEvent : public QEvent {
public:
@@ -52,7 +54,7 @@ void create_macro(QString name)
QDomDocument xml_req = xml_request(name);
// Fetch the XML document
- SendRecieve xml_acquire;
+ SendRecieve xml_acquire(host, port);
xml_acquire.makeConnection(&xml_req);
QByteArray ba = xml_acquire.getResult();