diff options
Diffstat (limited to 'tdemdi/tdemdi/tabwidget.cpp')
-rw-r--r-- | tdemdi/tdemdi/tabwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdemdi/tdemdi/tabwidget.cpp b/tdemdi/tdemdi/tabwidget.cpp index 19c201800..35ea557a5 100644 --- a/tdemdi/tdemdi/tabwidget.cpp +++ b/tdemdi/tdemdi/tabwidget.cpp @@ -89,7 +89,7 @@ bool TabWidget::eventFilter(TQObject *obj, TQEvent *e ) { // if we lost a child we uninstall ourself as event filter for the lost // child and its children - TQObject* pLostChild = TQT_TQOBJECT(((TQChildEvent*)e)->child()); + TQObject* pLostChild = ((TQChildEvent*)e)->child(); if ((pLostChild != 0L) && (pLostChild->isWidgetType())) { TQObjectList *list = pLostChild->queryList( "TQWidget" ); list->insert(0, pLostChild); // add the lost child to the list too, just to save code @@ -108,7 +108,7 @@ bool TabWidget::eventFilter(TQObject *obj, TQEvent *e ) // if we got a new child and we are attached to the MDI system we // install ourself as event filter for the new child and its children // (as we did when we were added to the MDI system). - TQObject* pNewChild = TQT_TQOBJECT(((TQChildEvent*)e)->child()); + TQObject* pNewChild = ((TQChildEvent*)e)->child(); if ((pNewChild != 0L) && (pNewChild->isWidgetType())) { TQWidget* pNewWidget = (TQWidget*)pNewChild; |