Further cleanup after removal of Qt2's TQListIterator class.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/85/head
Michele Calgaro 5 years ago
parent 12602af928
commit 92ebbebcfb
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -748,7 +748,7 @@ KLegacyImageData *GtkObject::getImageData(KLegacyImageDataKey key, const TQStrin
KLegacyImageData *imagedata = 0; KLegacyImageData *imagedata = 0;
if (styleData()) { if (styleData()) {
QListIterator<KLegacyImageData> it(styleData()->imageList); TQPtrListIterator<KLegacyImageData> it(styleData()->imageList);
while ((imagedata = it.current()) != 0) { while ((imagedata = it.current()) != 0) {
++it; ++it;

@ -425,7 +425,7 @@ void KXMLGUIBuilder::finalizeGUI( KXMLGUIClient * )
return; return;
#if 0 #if 0
TDEToolBar *toolbar = 0; TDEToolBar *toolbar = 0;
QListIterator<TDEToolBar> it( ( (TDEMainWindow*)d->m_widget )->toolBarIterator() ); TQPtrListIterator<TDEToolBar> it( ( (TDEMainWindow*)d->m_widget )->toolBarIterator() );
while ( ( toolbar = it.current() ) ) { while ( ( toolbar = it.current() ) ) {
kdDebug() << "KXMLGUIBuilder::finalizeGUI toolbar=" << (void*)toolbar << endl; kdDebug() << "KXMLGUIBuilder::finalizeGUI toolbar=" << (void*)toolbar << endl;
++it; ++it;

Loading…
Cancel
Save