summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-06-03 10:43:37 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-06-03 10:43:37 +0900
commita75445b4c3c2fe24d377625acd8bb058b2bd971a (patch)
treea624fa03bd81f105a9c499e3a8ea229a6509c97a /src/tools
parent0b3c8dfbc927e2843c2c62842d53a723d1f1e727 (diff)
downloadtqt3-a75445b4c3c2fe24d377625acd8bb058b2bd971a.tar.gz
tqt3-a75445b4c3c2fe24d377625acd8bb058b2bd971a.zip
Drop Qt2 obsolete classes
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/ntqmemarray.h6
-rw-r--r--src/tools/ntqptrcollection.h4
-rw-r--r--src/tools/ntqptrqueue.h4
3 files changed, 1 insertions, 13 deletions
diff --git a/src/tools/ntqmemarray.h b/src/tools/ntqmemarray.h
index 2febfb23b..8a07bf9a9 100644
--- a/src/tools/ntqmemarray.h
+++ b/src/tools/ntqmemarray.h
@@ -112,10 +112,6 @@ public:
ConstIterator end() const { return data() + size(); }
};
-#ifndef TQT_NO_COMPAT
-#define TQArray TQMemArray
-#endif
-
#define Q_DEFINED_QMEMARRAY
#include "ntqwinexport.h"
-#endif // TQARRAY_H
+#endif
diff --git a/src/tools/ntqptrcollection.h b/src/tools/ntqptrcollection.h
index 37ff0df30..2b69899f8 100644
--- a/src/tools/ntqptrcollection.h
+++ b/src/tools/ntqptrcollection.h
@@ -73,8 +73,4 @@ protected:
};
-#ifndef TQT_NO_COMPAT
-#define TQCollection TQPtrCollection
-#endif
-
#endif // TQPTRCOLLECTION_H
diff --git a/src/tools/ntqptrqueue.h b/src/tools/ntqptrqueue.h
index 90f743d02..c905b4fd6 100644
--- a/src/tools/ntqptrqueue.h
+++ b/src/tools/ntqptrqueue.h
@@ -87,8 +87,4 @@ template<class type> inline void TQPtrQueue<type>::deleteItem( TQPtrCollection::
if ( del_item ) delete (type *)d;
}
-#ifndef TQT_NO_COMPAT
-#define TQQueue TQPtrQueue
-#endif
-
#endif // TQPTRQUEUE_H