summaryrefslogtreecommitdiffstats
path: root/chalk/ui/kobirdeyepanel.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-08 12:19:03 +0900
committerMichele Calgaro <[email protected]>2023-08-08 17:48:04 +0900
commit64574118b7f71db7cb0a7f513a824dd51185b632 (patch)
tree5bb277ee150a1aff31b86275c05d452dcde07572 /chalk/ui/kobirdeyepanel.cpp
parentc9fc87afcc603daf741f74d06301257ed2edc7c0 (diff)
downloadkoffice-64574118b7f71db7cb0a7f513a824dd51185b632.tar.gz
koffice-64574118b7f71db7cb0a7f513a824dd51185b632.zip
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit ca88704c3e4a4fd5ddc9e96e4ccf22b53816e03d)
Diffstat (limited to 'chalk/ui/kobirdeyepanel.cpp')
-rw-r--r--chalk/ui/kobirdeyepanel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/chalk/ui/kobirdeyepanel.cpp b/chalk/ui/kobirdeyepanel.cpp
index f7a9842d..46e0a585 100644
--- a/chalk/ui/kobirdeyepanel.cpp
+++ b/chalk/ui/kobirdeyepanel.cpp
@@ -403,7 +403,7 @@ void KoBirdEyePanel::handleMouseMove(TQPoint p)
break;
default:
case DragHandleNone:
- if (TQT_TQRECT_OBJECT(m_thumbnail.rect()).contains(p)) {
+ if (m_thumbnail.rect().contains(p)) {
cursor = TQt::PointingHandCursor;
} else {
cursor = TQt::arrowCursor;
@@ -462,7 +462,7 @@ void KoBirdEyePanel::handleMousePress(TQPoint p)
enumDragHandle dragHandle = dragHandleAt(p);
if (dragHandle == DragHandleNone) {
- if (TQT_TQRECT_OBJECT(m_thumbnail.rect()).contains(p)) {
+ if (m_thumbnail.rect().contains(p)) {
// Snap visible area centre to p and begin a centre drag.