diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-08 12:20:43 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-08 20:03:22 +0900 |
commit | 7bc43c68b3c095631628e1fb691242315687d15b (patch) | |
tree | d228605d6a3c1887f79ea4b05eedc876ccdee3d8 /kicker/menuext | |
parent | 2937383dce586b0de5944b8038541b8210fc7569 (diff) | |
download | tdebase-7bc43c68b3c095631628e1fb691242315687d15b.tar.gz tdebase-7bc43c68b3c095631628e1fb691242315687d15b.zip |
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kicker/menuext')
-rw-r--r-- | kicker/menuext/prefmenu/prefmenu.cpp | 2 | ||||
-rw-r--r-- | kicker/menuext/recentdocs/recentdocsmenu.cpp | 2 |
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(); |