summaryrefslogtreecommitdiffstats
path: root/kwordquiz/src
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2018-10-17 23:25:49 +0900
committerMichele Calgaro <[email protected]>2018-10-17 23:25:49 +0900
commit9b7dfcd2884692a56d951e3deced1d31313d6c2b (patch)
treeca6f827ca36073973e25cf6cc33a5b00de922ee6 /kwordquiz/src
parentb51af60c2b9a878689ce18b2f6f023e9ce10b299 (diff)
downloadtdeedu-9b7dfcd2884692a56d951e3deced1d31313d6c2b.tar.gz
tdeedu-9b7dfcd2884692a56d951e3deced1d31313d6c2b.zip
Removed obsolete Qt2's TQList/TQListIterator classes and replaced
with TQt3's TQPtrList/TQPtrListIterator ones. Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kwordquiz/src')
-rw-r--r--kwordquiz/src/kwordquizdoc.cpp4
-rw-r--r--kwordquiz/src/kwordquizdoc.h2
2 files changed, 3 insertions, 3 deletions
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<KWordQuizView> *KWordQuizDoc::pViewList = 0L;
+//TQPtrList<KWordQuizView> *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<KWordQuizView>();
+ pViewList = new TQPtrList<KWordQuizView>();
}
pViewList->setAutoDelete(true);*/
diff --git a/kwordquiz/src/kwordquizdoc.h b/kwordquiz/src/kwordquizdoc.h
index b1f30a0e..4ccd7dd7 100644
--- a/kwordquiz/src/kwordquizdoc.h
+++ b/kwordquiz/src/kwordquizdoc.h
@@ -84,7 +84,7 @@ class KWordQuizDoc : public TQObject
public:
/** the list of the views currently connected to the document */
- //static TQList<KWordQuizView> *pViewList;
+ //static TQPtrList<KWordQuizView> *pViewList;
//static KWordQuizView *m_view;
private:
/** the modified flag of the current document */