summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/tools/tool_crop
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-05 11:54:26 +0900
committerMichele Calgaro <[email protected]>2023-11-16 23:37:57 +0900
commitef06f14f2475bd08d3ea2ceec54a7b2238f3554e (patch)
tree03df826633e4ba084d133ca977c4fc37c74f21ac /chalk/plugins/tools/tool_crop
parent895081803a715ee89f4a90cfbf63d558ef2b2ebc (diff)
downloadkoffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.tar.gz
koffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'chalk/plugins/tools/tool_crop')
-rw-r--r--chalk/plugins/tools/tool_crop/kis_tool_crop.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/chalk/plugins/tools/tool_crop/kis_tool_crop.cpp b/chalk/plugins/tools/tool_crop/kis_tool_crop.cpp
index 58454b4f..8826de3d 100644
--- a/chalk/plugins/tools/tool_crop/kis_tool_crop.cpp
+++ b/chalk/plugins/tools/tool_crop/kis_tool_crop.cpp
@@ -145,7 +145,7 @@ void KisToolCrop::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) {
TQPoint pos = e->pos().floorTQPoint();
TQRect b = img->bounds();
@@ -392,7 +392,7 @@ void KisToolCrop::updateWidgetValues(bool updateratio)
void KisToolCrop::buttonRelease(KisButtonReleaseEvent *e)
{
- if (m_subject && m_subject->currentImg() && m_selecting && e->button() == Qt::LeftButton) {
+ if (m_subject && m_subject->currentImg() && m_selecting && e->button() == TQt::LeftButton) {
m_selecting = false;
m_haveCropSelection = true;