diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-09 17:18:13 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-09 21:29:52 +0900 |
commit | 34a191d96f3f9223b8c71da76ad6d8f3c2c9863d (patch) | |
tree | 977ab30a83c5a2cbf48f0353b58b915307c66b6e /tdemdi | |
parent | 18c573e806f0dcf0a7fcde805aaa528ef11ebc88 (diff) | |
download | tdelibs-34a191d96f3f9223b8c71da76ad6d8f3c2c9863d.tar.gz tdelibs-34a191d96f3f9223b8c71da76ad6d8f3c2c9863d.zip |
Drop TQT_TQ*_CONST defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 23278d259378e17087bf9aeaa5e45974dfb74bce)
Diffstat (limited to 'tdemdi')
-rw-r--r-- | tdemdi/tdemdi/tabwidget.cpp | 2 | ||||
-rw-r--r-- | tdemdi/tdemdichildview.cpp | 2 |
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" ); |