summaryrefslogtreecommitdiffstats
path: root/kicker/menuext
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-08 12:20:43 +0900
committerMichele Calgaro <[email protected]>2023-08-08 20:10:54 +0900
commit196b1629b9f5de20f3769eb5ec755a635df3c3e7 (patch)
tree0f9de901a6b71ee79c80a8186ac3b985998e55b0 /kicker/menuext
parent311da82aeb967658bb6bd69d9b17ceabf0fc9a0f (diff)
downloadtdebase-196b1629b9f5de20f3769eb5ec755a635df3c3e7.tar.gz
tdebase-196b1629b9f5de20f3769eb5ec755a635df3c3e7.zip
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 7bc43c68b3c095631628e1fb691242315687d15b)
Diffstat (limited to 'kicker/menuext')
-rw-r--r--kicker/menuext/prefmenu/prefmenu.cpp2
-rw-r--r--kicker/menuext/recentdocs/recentdocsmenu.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kicker/menuext/prefmenu/prefmenu.cpp b/kicker/menuext/prefmenu/prefmenu.cpp
index 534387394..3d9369fc6 100644
--- a/kicker/menuext/prefmenu/prefmenu.cpp
+++ b/kicker/menuext/prefmenu/prefmenu.cpp
@@ -224,7 +224,7 @@ void PrefMenu::dragEnterEvent(TQDragEnterEvent *event)
void PrefMenu::dragLeaveEvent(TQDragLeaveEvent */*event*/)
{
// see PrefMenu::dragEnterEvent why this is nescessary
- if (!TQT_TQRECT_OBJECT(frameGeometry()).contains(TQCursor::pos()))
+ if (!frameGeometry().contains(TQCursor::pos()))
{
KURLDrag::setTarget(0);
}
diff --git a/kicker/menuext/recentdocs/recentdocsmenu.cpp b/kicker/menuext/recentdocs/recentdocsmenu.cpp
index 19adfa868..df6854efc 100644
--- a/kicker/menuext/recentdocs/recentdocsmenu.cpp
+++ b/kicker/menuext/recentdocs/recentdocsmenu.cpp
@@ -114,7 +114,7 @@ void RecentDocsMenu::mouseMoveEvent(TQMouseEvent* e) {
if (!(e->state() & Qt::LeftButton))
return;
- if (!TQT_TQRECT_OBJECT(rect()).contains(_mouseDown))
+ if (!rect().contains(_mouseDown))
return;
int dragLength = (e->pos() - _mouseDown).manhattanLength();