From a794ba9d8418882f88a1aff1968987d7994f3a7a Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 2 Jan 2011 00:09:25 +0000 Subject: 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 --- qtinterface/tqobject.cpp | 39 +-------------------------------------- 1 file changed, 1 insertion(+), 38 deletions(-) (limited to 'qtinterface/tqobject.cpp') 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 #include -#ifdef USE_QT3 -#include -#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(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(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 -- cgit v1.2.3