summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtinterface/tqobject.h')
-rw-r--r--qtinterface/tqobject.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/qtinterface/tqobject.h b/qtinterface/tqobject.h
index 72e3ec8..ca133ee 100644
--- a/qtinterface/tqobject.h
+++ b/qtinterface/tqobject.h
@@ -30,7 +30,8 @@ Boston, MA 02110-1301, USA.
// For Qt3, no changes are needed
#include <qobject.h>
-#include <qobjectlist.h>
+
+class TQObjectList;
class TQObject : public QObject
{
@@ -39,7 +40,9 @@ class TQObject : public QObject
public:
inline TQObject( QObject *tqparent=0, const char *name=0 ) : QObject ( tqparent, name ) {}
- inline const TQObjectList tqchildren() const { return *children(); }
+ const TQObjectList tqchildren() const;
+ static const TQObjectList tqobjectTrees();
+ inline TQObject *tqparent() const { return TQT_TQOBJECT(parent()); }
// Interoperability
static const TQObject& convertFromQObject( QObject& ql );