diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-08 12:19:03 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-08 17:48:04 +0900 |
commit | 64574118b7f71db7cb0a7f513a824dd51185b632 (patch) | |
tree | 5bb277ee150a1aff31b86275c05d452dcde07572 /chalk | |
parent | c9fc87afcc603daf741f74d06301257ed2edc7c0 (diff) | |
download | koffice-64574118b7f71db7cb0a7f513a824dd51185b632.tar.gz koffice-64574118b7f71db7cb0a7f513a824dd51185b632.zip |
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ca88704c3e4a4fd5ddc9e96e4ccf22b53816e03d)
Diffstat (limited to 'chalk')
-rw-r--r-- | chalk/plugins/tools/defaulttools/kis_tool_text.cpp | 2 | ||||
-rw-r--r-- | chalk/ui/kobirdeyepanel.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_text.cpp b/chalk/plugins/tools/defaulttools/kis_tool_text.cpp index 1a2687f1..d1727f39 100644 --- a/chalk/plugins/tools/defaulttools/kis_tool_text.cpp +++ b/chalk/plugins/tools/defaulttools/kis_tool_text.cpp @@ -101,7 +101,7 @@ void KisToolText::buttonRelease(KisButtonReleaseEvent *e) } TQFontMetrics metrics(m_font); - TQRect boundingRect = TQT_TQRECT_OBJECT(metrics.boundingRect(text)).normalize(); + TQRect boundingRect = metrics.boundingRect(text).normalize(); int xB = - boundingRect.x(); int yB = - boundingRect.y(); 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. |