summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtinterface/tqobject.cpp')
-rw-r--r--qtinterface/tqobject.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/qtinterface/tqobject.cpp b/qtinterface/tqobject.cpp
index 8fb45d9..22df8ac 100644
--- a/qtinterface/tqobject.cpp
+++ b/qtinterface/tqobject.cpp
@@ -40,8 +40,15 @@ static const QObjectList *objectTrees() {
const QObjectList *QObject::ptrchildren() const {
QObjectList ql;
+ QObjectList *qlr;
ql = this->children();
- return &ql;
+ 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 \ No newline at end of file