diff options
Diffstat (limited to 'kpf/src/Server.h')
-rw-r--r-- | kpf/src/Server.h | 18 |
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 (); |