summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/tools/tool_perspectivegrid
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_perspectivegrid
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_perspectivegrid')
-rw-r--r--chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.cpp b/chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.cpp
index 7d5df0f2..e676ba56 100644
--- a/chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.cpp
+++ b/chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.cpp
@@ -108,7 +108,7 @@ void KisToolPerspectiveGrid::buttonPress(KisButtonPressEvent *event)
m_mode = MODE_CREATION;
m_points.clear();
}
- if( m_mode == MODE_CREATION && event->button() == Qt::LeftButton)
+ if( m_mode == MODE_CREATION && event->button() == TQt::LeftButton)
{
m_dragging = true;
@@ -122,7 +122,7 @@ void KisToolPerspectiveGrid::buttonPress(KisButtonPressEvent *event)
m_dragEnd = event->pos();
drawGridCreation();
}
- } else if(m_mode == MODE_EDITING && event->button() == Qt::LeftButton){
+ } else if(m_mode == MODE_EDITING && event->button() == TQt::LeftButton){
// Look for the handle which was pressed
if (!m_subject)
return;
@@ -265,7 +265,7 @@ void KisToolPerspectiveGrid::buttonRelease(KisButtonReleaseEvent *event)
if( m_mode == MODE_CREATION )
{
- if (m_dragging && event->button() == Qt::LeftButton) {
+ if (m_dragging && event->button() == TQt::LeftButton) {
m_dragging = false;
m_points.append (m_dragEnd);
if( m_points.size() == 4)