diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kpf/src/WebServer.h | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-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/WebServer.h')
-rw-r--r-- | kpf/src/WebServer.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kpf/src/WebServer.h b/kpf/src/WebServer.h index ae9d9383..4940e863 100644 --- a/kpf/src/WebServer.h +++ b/kpf/src/WebServer.h @@ -25,7 +25,7 @@ #define KPF_WEB_SERVER_H #include <dcopobject.h> -#include <qserversocket.h> +#include <tqserversocket.h> #include "Defaults.h" #include "Request.h" @@ -42,7 +42,7 @@ namespace KPF * Maintains concurrent connection limit, using a backlog to queue incoming * connections which cannot be served immediately. */ - class WebServer : public QObject, virtual public DCOPObject + class WebServer : public TQObject, virtual public DCOPObject { K_DCOP Q_OBJECT @@ -56,7 +56,7 @@ namespace KPF * Server objects, which much ensure that only files from the root and * its child directories are served. */ - WebServer(const QString & root); + WebServer(const TQString & root); /** * @param root Virtual root directory for servers. Passed to all created @@ -65,12 +65,12 @@ namespace KPF */ WebServer ( - const QString & root, + const TQString & root, uint listenPort, uint bandwidthLimit, uint connectionLimit, bool followSymlinks, - const QString & serverName + const TQString & serverName ); virtual ~WebServer(); @@ -87,12 +87,12 @@ namespace KPF /** * @return virtual root. */ - QString root(); + TQString root(); /** * @return server name */ - QString serverName(); + TQString serverName(); /** * @return amount of bytes that may be sent out per second, in total @@ -143,7 +143,7 @@ namespace KPF /** * Set server name */ - void setServerName (const QString&); + void setServerName (const TQString&); /** * Set whether requests may include symbolic links in their path. @@ -165,7 +165,7 @@ namespace KPF ulong bandwidthLimit, uint connectionLimit, bool followSymlinks, - const QString& serverName + const TQString& serverName ); /** |