summaryrefslogtreecommitdiffstats
path: root/kpf/src/WebServerManager.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/WebServerManager.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/WebServerManager.h')
-rw-r--r--kpf/src/WebServerManager.h32
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