summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 11:54:26 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-16 23:40:13 +0900
commitc8c5e11f05f023849896d09cf06917e9a2c016ca (patch)
treea62f00b0249b967528e115e2123b56d40633c17a /chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cpp
parentc9973bfbf1091ef91f30b5ab456015676123aa47 (diff)
downloadkoffice-c8c5e11f05f023849896d09cf06917e9a2c016ca.tar.gz
koffice-c8c5e11f05f023849896d09cf06917e9a2c016ca.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ef06f14f2475bd08d3ea2ceec54a7b2238f3554e)
Diffstat (limited to 'chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cpp')
-rw-r--r--chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cpp b/chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cpp
index 5a6772bac..b52ec5635 100644
--- a/chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cpp
+++ b/chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cpp
@@ -114,7 +114,7 @@ void KisToolSelectRectangular::buttonPress(KisButtonPressEvent *e)
if (m_subject) {
KisImageSP img = m_subject->currentImg();
- if (img && img->activeDevice() && e->button() == Qt::LeftButton) {
+ if (img && img->activeDevice() && e->button() == TQt::LeftButton) {
clearSelection();
m_startPos = m_endPos = m_centerPos = e->pos();
m_selecting = true;
@@ -158,7 +158,7 @@ void KisToolSelectRectangular::move(KisMoveEvent *e)
void KisToolSelectRectangular::buttonRelease(KisButtonReleaseEvent *e)
{
- if (m_subject && m_selecting && e->button() == Qt::LeftButton) {
+ if (m_subject && m_selecting && e->button() == TQt::LeftButton) {
paintOutline();