diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-02 00:09:25 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-02 00:09:25 +0000 |
commit | a794ba9d8418882f88a1aff1968987d7994f3a7a (patch) | |
tree | d2fa0c30787ee1ea76f9c66affda98e7d4a90d0a /qtinterface/tqobject.h | |
parent | 6eb0c47f8fcc8eae4ecffb3272a482147c65422b (diff) | |
download | tqtinterface-a794ba9d8418882f88a1aff1968987d7994f3a7a.tar.gz tqtinterface-a794ba9d8418882f88a1aff1968987d7994f3a7a.zip |
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
Diffstat (limited to 'qtinterface/tqobject.h')
-rw-r--r-- | qtinterface/tqobject.h | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/qtinterface/tqobject.h b/qtinterface/tqobject.h index 192e38a..f19e493 100644 --- a/qtinterface/tqobject.h +++ b/qtinterface/tqobject.h @@ -31,29 +31,6 @@ Boston, MA 02110-1301, USA. #include <qobject.h> -class TQObjectList; - -class TQObject : public QObject -{ -// Q_OBJECT - -public: - TQObject( QObject *tqparent=0, const char *name=0 ) : QObject ( tqparent, name ) {} - virtual ~TQObject(); - - const TQObjectList tqchildren() const; - static const TQObjectList tqobjectTrees(); - inline TQObject *tqparent() const { return TQT_TQOBJECT(parent()); } - - // Interoperability - static const TQObject& convertFromQObject( const QObject& qo ); -}; - -// Interoperability -inline static const TQObject& convertFromQObject( const QObject& qo ) { - return (*static_cast<const TQObject*>(&qo)); -} - #endif // USE_QT3 #ifdef USE_QT4 @@ -65,4 +42,4 @@ inline static const TQObject& convertFromQObject( const QObject& qo ) { #endif // USE_QT4 -#endif /* TQOBJECT_H */ +#endif /* TQOBJECT_H */
\ No newline at end of file |