summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 23:25:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 23:25:49 +0900
commit9b7dfcd2884692a56d951e3deced1d31313d6c2b (patch)
treeca6f827ca36073973e25cf6cc33a5b00de922ee6
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 <michele.calgaro@yahoo.it>
-rw-r--r--kstars/kstars/filesource.h2
-rw-r--r--kstars/kstars/planetcatalog.cpp2
-rw-r--r--kstars/kstars/stardatasink.h2
-rw-r--r--kwordquiz/src/kwordquizdoc.cpp4
-rw-r--r--kwordquiz/src/kwordquizdoc.h2
5 files changed, 6 insertions, 6 deletions
diff --git a/kstars/kstars/filesource.h b/kstars/kstars/filesource.h
index 7de46055..8189e5f0 100644
--- a/kstars/kstars/filesource.h
+++ b/kstars/kstars/filesource.h
@@ -90,7 +90,7 @@ class FileSource : public TQDataSource {
*A low value needs longer to reload data, but it doesn't interrupt the
*main event loop (it's smoother).
*But it's important to know that 500 lines to read is very fast, but
- *appending to TQList in StarDataSink will take the most time and this
+ *appending to TQPtrList in StarDataSink will take the most time and this
*will also defined with this value.
*/
#define maxLines 500
diff --git a/kstars/kstars/planetcatalog.cpp b/kstars/kstars/planetcatalog.cpp
index 3367f35c..34579fea 100644
--- a/kstars/kstars/planetcatalog.cpp
+++ b/kstars/kstars/planetcatalog.cpp
@@ -35,7 +35,7 @@ PlanetCatalog::PlanetCatalog(KStarsData *dat) : Earth(0), Sun(0), kd(dat) {
PlanetCatalog::~PlanetCatalog() {
//
- // do NOT delete Sun. It is also in the TQList
+ // do NOT delete Sun. It is also in the TQPtrList
// and will be deleted automatically.
//
delete Earth;
diff --git a/kstars/kstars/stardatasink.h b/kstars/kstars/stardatasink.h
index abfa23ee..61ec9ce5 100644
--- a/kstars/kstars/stardatasink.h
+++ b/kstars/kstars/stardatasink.h
@@ -21,7 +21,7 @@
/**@class StarDataSink
*StarDataSink receives data from an FileSource object and appends these data
- *to a TQList of star data. It's an asynchronous io class.
+ *to a TQPtrList of star data. It's an asynchronous io class.
*@author Thomas Kabelmann
*@version 1.0
*/
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 */