summaryrefslogtreecommitdiffstats
path: root/tdemdi
diff options
context:
space:
mode:
Diffstat (limited to 'tdemdi')
-rw-r--r--tdemdi/tdemdi/tabwidget.cpp2
-rw-r--r--tdemdi/tdemdichildview.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tdemdi/tdemdi/tabwidget.cpp b/tdemdi/tdemdi/tabwidget.cpp
index 4e5c2f62b..19c201800 100644
--- a/tdemdi/tdemdi/tabwidget.cpp
+++ b/tdemdi/tdemdi/tabwidget.cpp
@@ -135,7 +135,7 @@ void TabWidget::childDestroyed()
{
// if we lost a child we uninstall ourself as event filter for the lost
// child and its children
- const TQObject* pLostChild = TQT_TQOBJECT_CONST(sender());
+ const TQObject* pLostChild = sender();
if ((pLostChild != 0L) && (pLostChild->isWidgetType()))
{
TQObjectList *list = ((TQObject*)(pLostChild))->queryList("TQWidget");
diff --git a/tdemdi/tdemdichildview.cpp b/tdemdi/tdemdichildview.cpp
index b90ed170c..19a0edfb2 100644
--- a/tdemdi/tdemdichildview.cpp
+++ b/tdemdi/tdemdichildview.cpp
@@ -493,7 +493,7 @@ void KMdiChildView::slot_childDestroyed()
// if we lost a child we uninstall ourself as event filter for the lost
// child and its children
- const TQObject * pLostChild = TQT_TQOBJECT_CONST(sender());
+ const TQObject * pLostChild = sender();
if ( pLostChild && ( pLostChild->isWidgetType() ) )
{
TQObjectList* list = ( ( TQObject* ) ( pLostChild ) ) ->queryList( "TQWidget" );