summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqobject.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-01 22:40:03 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-01 22:40:03 +0000
commitdf2e39d7a8ad016787dfe560842828580c109d1d (patch)
tree3c319c4ae489ed50b344c4d2437ee050912554d4 /qtinterface/tqobject.h
parentd88be03ff79b47d2211d719652430eb3780cfc87 (diff)
downloadtqtinterface-df2e39d7a8ad016787dfe560842828580c109d1d.tar.gz
tqtinterface-df2e39d7a8ad016787dfe560842828580c109d1d.zip
Additional FTBFS fixes
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1210728 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 );