summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqobjectlist.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-02 00:09:25 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-02 00:09:25 +0000
commita794ba9d8418882f88a1aff1968987d7994f3a7a (patch)
treed2fa0c30787ee1ea76f9c66affda98e7d4a90d0a /qtinterface/tqobjectlist.h
parent6eb0c47f8fcc8eae4ecffb3272a482147c65422b (diff)
downloadtqtinterface-a794ba9d8418882f88a1aff1968987d7994f3a7a.tar.gz
tqtinterface-a794ba9d8418882f88a1aff1968987d7994f3a7a.zip
Revert changes since revision 1210400
TQt for Qt4 compatibility project is temporarily on hold It appears a separate version of Qt3 (i.e. patches for the unmaintained Qt3 source) may be required to make the interface work properly. This is because tqchildren is needed in Qt3. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1210736 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtinterface/tqobjectlist.h')
-rw-r--r--qtinterface/tqobjectlist.h52
1 files changed, 2 insertions, 50 deletions
diff --git a/qtinterface/tqobjectlist.h b/qtinterface/tqobjectlist.h
index 0c519b4..1286100 100644
--- a/qtinterface/tqobjectlist.h
+++ b/qtinterface/tqobjectlist.h
@@ -29,55 +29,7 @@ Boston, MA 02110-1301, USA.
// Reimplement the QObjectList class
// For Qt3, no changes are needed
-//#include <qobjectlist.h>
-
-//#ifndef TQT_H
-#include "tqobject.h"
-#include "tqptrlist.h"
-//#endif // TQT_H
-
-
-#if defined(TQ_TEMPLATEDLL)
-//TQ_TEMPLATE_EXTERN template class Q_EXPORT TQPtrList<TQObject>;
-//TQ_TEMPLATE_EXTERN template class Q_EXPORT TQPtrListIterator<TQObject>;
-#endif
-
-
-class Q_EXPORT TQObjectList : public TQPtrList<TQObject>
-{
-public:
- TQObjectList() : TQPtrList<TQObject>() {}
- TQObjectList( const TQObjectList &list ) : TQPtrList<TQObject>(list) {}
- ~TQObjectList() { clear(); }
- TQObjectList &operator=(const TQObjectList &list)
- { return (TQObjectList&)TQPtrList<TQObject>::operator=(list); }
-};
-
-class Q_EXPORT TQObjectListIterator : public TQPtrListIterator<TQObject>
-{
-public:
- TQObjectListIterator( const TQObjectList &l )
- : TQPtrListIterator<TQObject>( l ) { }
- TQObjectListIterator &operator=( const TQObjectListIterator &i )
- { return (TQObjectListIterator&)
- TQPtrListIterator<TQObject>::operator=( i ); }
-};
-
-#if (TQT_VERSION-0 >= 0x040000)
-#if defined(TQ_CC_GNU)
-#warning "remove the TQObjectListIt class"
-#warning "remove the typedef too, maybe"
-#endif
-typedef TQObjectListIterator TQObjectListIt;
-#else
-class Q_EXPORT TQObjectListIt : public TQPtrListIterator<TQObject>
-{
-public:
- TQObjectListIt( const TQObjectList &l ) : TQPtrListIterator<TQObject>(l) {}
- TQObjectListIt &operator=(const TQObjectListIt &i)
- { return (TQObjectListIt&)TQPtrListIterator<TQObject>::operator=(i); }
-};
-#endif
+#include <qobjectlist.h>
#endif // USE_QT3
@@ -90,4 +42,4 @@ public:
#endif // USE_QT4
-#endif /* TQOBJECTLIST_H */
+#endif /* TQOBJECTLIST_H */ \ No newline at end of file