summaryrefslogtreecommitdiffstats
path: root/kpf/src/Server.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kpf/src/Server.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpf/src/Server.h')
-rw-r--r--kpf/src/Server.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/kpf/src/Server.h b/kpf/src/Server.h
index 8d26a167..c83f4a3d 100644
--- a/kpf/src/Server.h
+++ b/kpf/src/Server.h
@@ -24,9 +24,9 @@
#ifndef KPF_SERVER_H
#define KPF_SERVER_H
-#include <qdatetime.h>
-#include <qstring.h>
-#include <qhostaddress.h>
+#include <tqdatetime.h>
+#include <tqstring.h>
+#include <tqhostaddress.h>
#include "Request.h"
#include "Response.h"
@@ -64,7 +64,7 @@ namespace KPF
*/
Server
(
- const QString & dir,
+ const TQString & dir,
bool followSymlinks,
int socket,
WebServer * parent
@@ -78,7 +78,7 @@ namespace KPF
/**
* @return address of client that has connected to us.
*/
- QHostAddress peerAddress() const;
+ TQHostAddress peerAddress() const;
/**
* @return Request object associated with this connection.
@@ -109,12 +109,12 @@ namespace KPF
/**
* @return date and time this object was created.
*/
- QDateTime birth() const;
+ TQDateTime birth() const;
/**
* @return date and time all activity was completed.
*/
- QDateTime death() const;
+ TQDateTime death() const;
/**
* @return number of bytes remaining to send to client.
@@ -164,10 +164,10 @@ namespace KPF
};
void setFinished (FlushSelect);
- void writeLine (const QString &);
+ void writeLine (const TQString &);
void prepareResponse ();
void respond (uint code, ulong size = 0);
- bool readRequest (const QString &);
+ bool readRequest (const TQString &);
bool checkRequest ();
void handleRequest ();
void readHeaders ();