diff --git a/qtinterface/tqobject.cpp b/qtinterface/tqobject.cpp index 351e799..6f7b71e 100644 --- a/qtinterface/tqobject.cpp +++ b/qtinterface/tqobject.cpp @@ -26,6 +26,9 @@ Boston, MA 02110-1301, USA. #include #include "tqobjectlist.h" +TQObject::~TQObject() { +} + const TQObjectList TQObject::tqchildren() const { // return *children(); diff --git a/qtinterface/tqobject.h b/qtinterface/tqobject.h index ca133ee..192e38a 100644 --- a/qtinterface/tqobject.h +++ b/qtinterface/tqobject.h @@ -35,17 +35,18 @@ class TQObjectList; class TQObject : public QObject { - Q_OBJECT +// Q_OBJECT public: - inline TQObject( QObject *tqparent=0, const char *name=0 ) : QObject ( tqparent, name ) {} + 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( QObject& ql ); + static const TQObject& convertFromQObject( const QObject& qo ); }; // Interoperability