summaryrefslogtreecommitdiffstats
path: root/kpf/src/WebServerManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpf/src/WebServerManager.cpp')
-rw-r--r--kpf/src/WebServerManager.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/kpf/src/WebServerManager.cpp b/kpf/src/WebServerManager.cpp
index feec661d..08075fe8 100644
--- a/kpf/src/WebServerManager.cpp
+++ b/kpf/src/WebServerManager.cpp
@@ -54,7 +54,7 @@ namespace KPF
WebServerManager::WebServerManager()
: DCOPObject("WebServerManager"),
- QObject()
+ TQObject()
{
serverList_.setAutoDelete(true);
}
@@ -64,7 +64,7 @@ namespace KPF
// Empty.
}
- QPtrList<WebServer>
+ TQPtrList<WebServer>
WebServerManager::serverListLocal()
{
return serverList_;
@@ -73,12 +73,12 @@ namespace KPF
WebServer *
WebServerManager::createServerLocal
(
- const QString & root,
+ const TQString & root,
uint listenPort,
uint bandwidthLimit,
uint connectionLimit,
bool followSymlinks,
- const QString & serverName
+ const TQString & serverName
)
{
if (0 != server(root))
@@ -112,9 +112,9 @@ namespace KPF
config.setGroup("General");
- QStringList serverRootList = config.readListEntry("ServerRootList");
+ TQStringList serverRootList = config.readListEntry("ServerRootList");
- QStringList::ConstIterator it;
+ TQStringList::ConstIterator it;
for (it = serverRootList.begin(); it != serverRootList.end(); ++it)
{
@@ -132,9 +132,9 @@ namespace KPF
config.setGroup("General");
- QPtrListIterator<WebServer> it(serverList_);
+ TQPtrListIterator<WebServer> it(serverList_);
- QStringList serverRootList;
+ TQStringList serverRootList;
for (; it.current(); ++it)
serverRootList << it.current()->root();
@@ -145,9 +145,9 @@ namespace KPF
}
WebServer *
- WebServerManager::server(const QString & root)
+ WebServerManager::server(const TQString & root)
{
- QPtrListIterator<WebServer> it(serverList_);
+ TQPtrListIterator<WebServer> it(serverList_);
for (; it.current(); ++it)
{
@@ -168,7 +168,7 @@ namespace KPF
}
bool
- WebServerManager::disableServer(const QString & root)
+ WebServerManager::disableServer(const TQString & root)
{
WebServer * existing = server(root);
@@ -186,12 +186,12 @@ namespace KPF
}
}
- QValueList<DCOPRef>
+ TQValueList<DCOPRef>
WebServerManager::serverList()
{
- QValueList<DCOPRef> l;
+ TQValueList<DCOPRef> l;
- QPtrListIterator<WebServer> it(serverList_);
+ TQPtrListIterator<WebServer> it(serverList_);
for (; it.current(); ++it)
l << DCOPRef(it.current());
@@ -202,12 +202,12 @@ namespace KPF
DCOPRef
WebServerManager::createServer
(
- QString root,
+ TQString root,
uint listenPort,
uint bandwidthLimit,
uint connectionLimit,
bool followSymlinks,
- QString serverName
+ TQString serverName
)
{
WebServer * server = createServerLocal
@@ -228,7 +228,7 @@ namespace KPF
WebServer_stub webServer
(serverRef.app(), serverRef.object());
- QString root = webServer.root();
+ TQString root = webServer.root();
if (DCOPStub::CallFailed == webServer.status())
{
@@ -252,9 +252,9 @@ namespace KPF
}
bool
- WebServerManager::hasServer(const QString & s)
+ WebServerManager::hasServer(const TQString & s)
{
- QString root(s);
+ TQString root(s);
if ('/' == root.at(root.length() - 1))
{
@@ -270,7 +270,7 @@ namespace KPF
{
bool ok = true;
- for (QPtrListIterator<WebServer> it(serverList_); it.current(); ++it)
+ for (TQPtrListIterator<WebServer> it(serverList_); it.current(); ++it)
{
if (it.current()->listenPort() == port)
{