From 9b7dfcd2884692a56d951e3deced1d31313d6c2b Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 17 Oct 2018 23:25:49 +0900 Subject: Removed obsolete Qt2's TQList/TQListIterator classes and replaced with TQt3's TQPtrList/TQPtrListIterator ones. Signed-off-by: Michele Calgaro --- kwordquiz/src/kwordquizdoc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kwordquiz/src/kwordquizdoc.cpp') diff --git a/kwordquiz/src/kwordquizdoc.cpp b/kwordquiz/src/kwordquizdoc.cpp index c132a7f2..abf26295 100644 --- a/kwordquiz/src/kwordquizdoc.cpp +++ b/kwordquiz/src/kwordquizdoc.cpp @@ -33,7 +33,7 @@ #include "wqlwriter.h" #include "prefs.h" -//TQList *KWordQuizDoc::pViewList = 0L; +//TQPtrList *KWordQuizDoc::pViewList = 0L; //KWordQuizView *KWordQuizDoc::m_view; KWordQuizDoc::KWordQuizDoc(TQWidget *parent, const char *name) : TQObject(parent, name) @@ -41,7 +41,7 @@ KWordQuizDoc::KWordQuizDoc(TQWidget *parent, const char *name) : TQObject(parent connect(KDirWatch::self(), TQT_SIGNAL(dirty(const TQString& )), this, TQT_SLOT(slotModifiedOnDisk(const TQString& ))); /* if(!pViewList) { - pViewList = new TQList(); + pViewList = new TQPtrList(); } pViewList->setAutoDelete(true);*/ -- cgit v1.2.1