From f70fe735b5fee2c8fcc31e05a7fa07ca9cd7473d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 17 Oct 2018 23:25:48 +0900 Subject: Removed obsolete Qt2's TQList/TQListIterator classes and replaced with TQt3's TQPtrList/TQPtrListIterator ones. Signed-off-by: Michele Calgaro --- kpf/src/KPFInterface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kpf') diff --git a/kpf/src/KPFInterface.cpp b/kpf/src/KPFInterface.cpp index 47e4acef..2541dd83 100644 --- a/kpf/src/KPFInterface.cpp +++ b/kpf/src/KPFInterface.cpp @@ -40,11 +40,11 @@ KPFInterface::~KPFInterface() TQStringList KPFInterface::serverRootList() { - TQList l(KPF::WebServerManager::instance()->serverListLocal()); + TQPtrList l(KPF::WebServerManager::instance()->serverListLocal()); TQStringList ret; - for (TQListIterator it(l); it.current(); ++it) + for (TQPtrListIterator it(l); it.current(); ++it) ret << it.current()->root(); return ret; -- cgit v1.2.1