Removed obsolete Qt2's TQList/TQListIterator classes and replaced

with TQt3's TQPtrList/TQPtrListIterator ones.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/4/head
Michele Calgaro 6 years ago
parent db944412a6
commit f70fe735b5
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -40,11 +40,11 @@ KPFInterface::~KPFInterface()
TQStringList
KPFInterface::serverRootList()
{
TQList<KPF::WebServer> l(KPF::WebServerManager::instance()->serverListLocal());
TQPtrList<KPF::WebServer> l(KPF::WebServerManager::instance()->serverListLocal());
TQStringList ret;
for (TQListIterator<KPF::WebServer> it(l); it.current(); ++it)
for (TQPtrListIterator<KPF::WebServer> it(l); it.current(); ++it)
ret << it.current()->root();
return ret;

Loading…
Cancel
Save