diff options
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 |