summaryrefslogtreecommitdiffstats
path: root/kpf/src/PortValidator.cpp
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/PortValidator.cpp
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/PortValidator.cpp')
-rw-r--r--kpf/src/PortValidator.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kpf/src/PortValidator.cpp b/kpf/src/PortValidator.cpp
index 01c2074e..b841377c 100644
--- a/kpf/src/PortValidator.cpp
+++ b/kpf/src/PortValidator.cpp
@@ -27,21 +27,21 @@
namespace KPF
{
- PortValidator::PortValidator(QObject * parent, const char * name)
- : QValidator(parent, name)
+ PortValidator::PortValidator(TQObject * parent, const char * name)
+ : TQValidator(parent, name)
{
// Empty.
}
- QValidator::State
- PortValidator::validate(QString & input, int & /* unused */) const
+ TQValidator::State
+ PortValidator::validate(TQString & input, int & /* unused */) const
{
uint port(input.toUInt());
- QPtrList<WebServer>
+ TQPtrList<WebServer>
serverList(WebServerManager::instance()->serverListLocal());
- for (QPtrListIterator<WebServer> it(serverList); it.current(); ++it)
+ for (TQPtrListIterator<WebServer> it(serverList); it.current(); ++it)
{
if (it.current()->listenPort() == port)
{