From 92ebbebcfbcef438186caee5747df702f52b21c2 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 24 May 2020 21:55:42 +0900 Subject: [PATCH] Further cleanup after removal of Qt2's TQListIterator class. Signed-off-by: Michele Calgaro --- tdestyles/klegacy/klegacystyle.cpp | 2 +- tdeui/kxmlguibuilder.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tdestyles/klegacy/klegacystyle.cpp b/tdestyles/klegacy/klegacystyle.cpp index a7402524b..8daf82c06 100644 --- a/tdestyles/klegacy/klegacystyle.cpp +++ b/tdestyles/klegacy/klegacystyle.cpp @@ -748,7 +748,7 @@ KLegacyImageData *GtkObject::getImageData(KLegacyImageDataKey key, const TQStrin KLegacyImageData *imagedata = 0; if (styleData()) { - QListIterator it(styleData()->imageList); + TQPtrListIterator it(styleData()->imageList); while ((imagedata = it.current()) != 0) { ++it; diff --git a/tdeui/kxmlguibuilder.cpp b/tdeui/kxmlguibuilder.cpp index ff4083779..b02ed5b08 100644 --- a/tdeui/kxmlguibuilder.cpp +++ b/tdeui/kxmlguibuilder.cpp @@ -425,7 +425,7 @@ void KXMLGUIBuilder::finalizeGUI( KXMLGUIClient * ) return; #if 0 TDEToolBar *toolbar = 0; - QListIterator it( ( (TDEMainWindow*)d->m_widget )->toolBarIterator() ); + TQPtrListIterator it( ( (TDEMainWindow*)d->m_widget )->toolBarIterator() ); while ( ( toolbar = it.current() ) ) { kdDebug() << "KXMLGUIBuilder::finalizeGUI toolbar=" << (void*)toolbar << endl; ++it;