summaryrefslogtreecommitdiffstats
path: root/qtinterface/interface_tqt3/tqobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtinterface/interface_tqt3/tqobject.cpp')
-rw-r--r--qtinterface/interface_tqt3/tqobject.cpp31
1 files changed, 0 insertions, 31 deletions
diff --git a/qtinterface/interface_tqt3/tqobject.cpp b/qtinterface/interface_tqt3/tqobject.cpp
index 42d58a1..85215c4 100644
--- a/qtinterface/interface_tqt3/tqobject.cpp
+++ b/qtinterface/interface_tqt3/tqobject.cpp
@@ -21,34 +21,3 @@ Boston, MA 02110-1301, USA.
#include <tqt.h>
#include <ntqobject.h>
-
-#ifdef USE_QT4
-
-const QObjectList *QObject::objectTrees() {
- QWidgetList widgetlist;
- QObjectList *objectlist = new QObjectList;
- widgetlist = QApplication::allWidgets();
- //widgetlist = QApplication::topLevelWidgets();
-
- objectlist->clear();
- foreach (QWidget *curwidget, widgetlist) {
- objectlist->append((QObject*)curwidget);
- }
-
- return objectlist;
-}
-
-const QObjectList *QObject::ptrchildren() const {
- QObjectList ql;
- QObjectList *qlr;
- ql = this->children();
- qlr = &ql;
- return qlr;
-}
-
-bool QObject::qt_invoke(int slot, QUObject* uo) {
- QMetaMethod method = uo->metaObject()->method(slot);
- return method.invoke(this, Qt::DirectConnection);
-}
-
-#endif