From 5d1efcc49ba47eaf5919923f6f6ba82566d9baaf Mon Sep 17 00:00:00 2001 From: deva Date: Thu, 29 May 2008 09:35:32 +0000 Subject: Rewrote the argument parser, for a more "The QT-Way"-like method. --- client/macro.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'client/macro.cc') 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(); -- cgit v1.2.3