summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/tools/defaulttools/kis_tool_move.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/defaulttools/kis_tool_move.cpp
parentc9973bfbf1091ef91f30b5ab456015676123aa47 (diff)
downloadkoffice-c8c5e11f.tar.gz
koffice-c8c5e11f.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/defaulttools/kis_tool_move.cpp')
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_move.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_move.cpp b/chalk/plugins/tools/defaulttools/kis_tool_move.cpp
index be5065784..1bcd51350 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_move.cpp
+++ b/chalk/plugins/tools/defaulttools/kis_tool_move.cpp
@@ -62,7 +62,7 @@ void KisToolMove::update(KisCanvasSubject *subject)
void KisToolMove::buttonPress(KisButtonPressEvent *e)
{
- if (m_subject && e->button() == Qt::LeftButton) {
+ if (m_subject && e->button() == TQt::LeftButton) {
TQPoint pos = e->pos().floorTQPoint();
KisImageSP img = m_subject->currentImg();
KisLayerSP dev;
@@ -76,7 +76,7 @@ void KisToolMove::buttonPress(KisButtonPressEvent *e)
void KisToolMove::move(KisMoveEvent *e)
{
- if (m_subject && e->state() == Qt::LeftButton) {
+ if (m_subject && e->state() == TQt::LeftButton) {
TQPoint pos = e->pos().floorTQPoint();
if((e->state() & TQt::AltButton) || (e->state() & TQt::ControlButton)) {
if(fabs(pos.x() - m_dragStart.x()) > fabs(pos.y() - m_dragStart.y()))
@@ -90,7 +90,7 @@ void KisToolMove::move(KisMoveEvent *e)
void KisToolMove::buttonRelease(KisButtonReleaseEvent *e)
{
- if (m_subject && e->button() == Qt::LeftButton) {
+ if (m_subject && e->button() == TQt::LeftButton) {
m_strategy.endDrag(e->pos().floorTQPoint());
}
}