From 665db9f7d20b9deaf1e30d1efb06a7378813eeda Mon Sep 17 00:00:00 2001 From: senator Date: Tue, 2 Oct 2007 10:04:59 +0000 Subject: minor changes, as far as i remember --- client/macro.cc | 8 ++++---- client/main.cc | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'client') diff --git a/client/macro.cc b/client/macro.cc index 853b343..bc97d1c 100644 --- a/client/macro.cc +++ b/client/macro.cc @@ -26,7 +26,7 @@ */ #include "macro.h" #include "builder.h" -#include "xmlacquire.h" +#include "sendrecieve.h" #include static QDomDocument xml_request(QString name); @@ -37,7 +37,7 @@ void macro(QString name) QDomDocument xml_req = xml_request(name); // Fetch the XML document - XmlAcquire xml_acquire; + SendRecieve xml_acquire; xml_acquire.makeConnection(&xml_req); QByteArray ba = xml_acquire.getResult(); @@ -50,7 +50,7 @@ void macro(QString name) printf("ERROR: Invalid XML recieved!\n"); } - Builder builder(&xml_doc); + Builder *builder = new Builder(&xml_doc); } static QDomDocument xml_request(QString name) @@ -58,7 +58,7 @@ static QDomDocument xml_request(QString name) // Create the xml request document here QByteArray xml_array; xml_array.append("\n"); - xml_array.append("\n"); + xml_array.append("\n"); xml_array.append(" \n"); xml_array.append(""); diff --git a/client/main.cc b/client/main.cc index 84701c8..da806bf 100644 --- a/client/main.cc +++ b/client/main.cc @@ -26,7 +26,7 @@ */ #include "macro.h" -#include "xmlacquire.h" +#include "sendrecieve.h" #include #include #include -- cgit v1.2.3