summaryrefslogtreecommitdiffstats
path: root/tdemdi
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-09 17:18:13 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-09 17:18:13 +0900
commit23278d259378e17087bf9aeaa5e45974dfb74bce (patch)
tree6f823898e2ef1c01fc119740aa337e885db4d4f8 /tdemdi
parentc0b74ba868682f39c41a9f70ae11297425b711e1 (diff)
downloadtdelibs-23278d259378e17087bf9aeaa5e45974dfb74bce.tar.gz
tdelibs-23278d259378e17087bf9aeaa5e45974dfb74bce.zip
Drop TQT_TQ*_CONST defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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" );