From a794ba9d8418882f88a1aff1968987d7994f3a7a Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 2 Jan 2011 00:09:25 +0000 Subject: 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 --- qtinterface/tqobject.h | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) (limited to 'qtinterface/tqobject.h') 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 -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(&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 -- cgit v1.2.3