summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqobject.cpp
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/tqobject.cpp
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/tqobject.cpp')
-rw-r--r--qtinterface/tqobject.cpp39
1 files changed, 1 insertions, 38 deletions
diff --git a/qtinterface/tqobject.cpp b/qtinterface/tqobject.cpp
index 6f7b71e..3029a5f 100644
--- a/qtinterface/tqobject.cpp
+++ b/qtinterface/tqobject.cpp
@@ -22,43 +22,6 @@ Boston, MA 02110-1301, USA.
#include <tqt.h>
#include <tqobject.h>
-#ifdef USE_QT3
-#include <qobjectlist.h>
-#include "tqobjectlist.h"
-
-TQObject::~TQObject() {
-}
-
-const TQObjectList TQObject::tqchildren() const
-{
-// return *children();
-
- QObjectList qlr;
- TQObjectList tqt_tqobject_list;
- qlr = *(this->children());
- tqt_tqobject_list.clear();
- for (int i = 0; i < qlr.count(); ++i) {
- tqt_tqobject_list.append(static_cast<TQObject*>(qlr.at(i)));
- }
- return tqt_tqobject_list;
-}
-
-const TQObjectList TQObject::tqobjectTrees()
-{
-// return *objectTrees();
-
- QObjectList qlr;
- TQObjectList tqt_tqobject_list;
- qlr = *objectTrees();
- tqt_tqobject_list.clear();
- for (int i = 0; i < qlr.count(); ++i) {
- tqt_tqobject_list.append(static_cast<TQObject*>(qlr.at(i)));
- }
- return tqt_tqobject_list;
-}
-
-#endif // USE_QT3
-
#ifdef USE_QT4
const QObjectList *QObject::objectTrees() {
@@ -88,4 +51,4 @@ bool QObject::qt_invoke(int slot, QUObject* uo) {
return method.invoke(this, Qt::DirectConnection);
}
-#endif
+#endif \ No newline at end of file