diff options
Diffstat (limited to 'kpf/src/WebServerManager.h')
-rw-r--r-- | kpf/src/WebServerManager.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kpf/src/WebServerManager.h b/kpf/src/WebServerManager.h index 6faa8a30..daa8db33 100644 --- a/kpf/src/WebServerManager.h +++ b/kpf/src/WebServerManager.h @@ -29,7 +29,7 @@ #include "Defaults.h" -#include <qptrlist.h> +#include <tqptrlist.h> namespace KPF { @@ -40,7 +40,7 @@ namespace KPF * creating WebServer objects at startup (based on settings) and * on demand. Destroys WebServer objects on demand. */ - class WebServerManager : public QObject, virtual public DCOPObject + class WebServerManager : public TQObject, virtual public DCOPObject { Q_OBJECT K_DCOP @@ -58,7 +58,7 @@ namespace KPF * @return a list of pointers to WebServer objects managed * by this object. */ - QPtrList<WebServer> serverListLocal(); + TQPtrList<WebServer> serverListLocal(); /** * @return a pointer to a new WebServer object, with the root @@ -67,18 +67,18 @@ namespace KPF */ WebServer * createServerLocal ( - const QString & root, + const TQString & root, uint listenPort, uint bandwidthLimit = Config::DefaultBandwidthLimit, uint connectionLimit = Config::DefaultConnectionLimit, bool followSymlinks = Config::DefaultFollowSymlinks, - const QString & serverName = QString::null + const TQString & serverName = TQString::null ); /** * Disables a WebServer and updates the configuration. */ - bool disableServer(const QString & root); + bool disableServer(const TQString & root); /** * Loads the configuration. @@ -96,49 +96,49 @@ namespace KPF /** * Find a WebServer or return 0. */ - WebServer * server(const QString & root); + WebServer * server(const TQString & root); /** * Ask a server to re-read its configuration. */ - bool reconfigureServer(const QString & root); + bool reconfigureServer(const TQString & root); /** * Pause/unpause a server. */ - bool pauseServer(const QString & root, bool); + bool pauseServer(const TQString & root, bool); /** * @return whether the server is paused. */ - bool serverPaused(const QString & root); + bool serverPaused(const TQString & root); /** * Restart a server. */ - bool restartServer(const QString & root); + bool restartServer(const TQString & root); /** * @return if a Server object with the specified root exists. Handles * the two possible variations of trailing slash, i.e. existing and not * existing. */ - bool hasServer(const QString & root); + bool hasServer(const TQString & root); uint nextFreePort() const; k_dcop: - QValueList<DCOPRef> serverList(); + TQValueList<DCOPRef> serverList(); DCOPRef createServer ( - QString root, + TQString root, uint listenPort, uint bandwidthLimit, uint connectionLimit, bool followSymlinks, - QString serverName + TQString serverName ); void disableServer(DCOPRef); @@ -164,7 +164,7 @@ namespace KPF static WebServerManager * instance_; void load(); - QPtrList<WebServer> serverList_; + TQPtrList<WebServer> serverList_; }; } // End namespace KPF |