diff options
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 ); /** |