diff options
Diffstat (limited to 'src/upnp/httprequest.h')
-rw-r--r-- | src/upnp/httprequest.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/upnp/httprequest.h b/src/upnp/httprequest.h index 9832da8..8c4496b 100644 --- a/src/upnp/httprequest.h +++ b/src/upnp/httprequest.h @@ -20,7 +20,7 @@ #ifndef BTHTTPREQUEST_H #define BTHTTPREQUEST_H -#include <qobject.h> +#include <ntqobject.h> #include <kurl.h> #include <kstreamsocket.h> #include "exitoperation.h" @@ -50,7 +50,7 @@ namespace bt * @param port THe port * @param verbose Print traffic to the log */ - HTTPRequest(const QString & hdr,const QString & payload,const QString & host, + HTTPRequest(const TQString & hdr,const TQString & payload,const TQString & host, Uint16 port,bool verbose, bool fwd); virtual ~HTTPRequest(); @@ -58,21 +58,21 @@ namespace bt * Open a connetion and send the request. */ void start(); - QString showPayload(){return payload;}; + TQString showPayload(){return payload;}; signals: /** * An OK reply was sent. * @param r The sender of the request * @param data The data of the reply */ - void replyOK(bt::HTTPRequest* r,const QString & data, bool fwd); + void replyOK(bt::HTTPRequest* r,const TQString & data, bool fwd); /** * Anything else but an 200 OK was sent. * @param r The sender of the request * @param data The data of the reply */ - void replyError(bt::HTTPRequest* r,const QString & data, bool fwd); + void replyError(bt::HTTPRequest* r,const TQString & data, bool fwd); /** * No reply was sent and an error or timeout occurred. @@ -89,7 +89,7 @@ namespace bt private: KNetwork::KStreamSocket* sock; - QString hdr,payload; + TQString hdr,payload; bool verbose,fwd; }; |