summaryrefslogtreecommitdiffstats
path: root/kpf/src/PortValidator.cpp
diff options
context:
space:
mode:
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)
{