summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/tools/tool_curves/kis_tool_moutline.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/tool_curves/kis_tool_moutline.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/tool_curves/kis_tool_moutline.cpp')
-rw-r--r--chalk/plugins/tools/tool_curves/kis_tool_moutline.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/chalk/plugins/tools/tool_curves/kis_tool_moutline.cpp b/chalk/plugins/tools/tool_curves/kis_tool_moutline.cpp
index ebf82634f..1412f5fad 100644
--- a/chalk/plugins/tools/tool_curves/kis_tool_moutline.cpp
+++ b/chalk/plugins/tools/tool_curves/kis_tool_moutline.cpp
@@ -643,7 +643,7 @@ void KisToolMagnetic::buttonPress(KisButtonPressEvent *event)
updateOptions(event->state());
if (!m_currentImage)
return;
- if (event->button() == Qt::LeftButton) {
+ if (event->button() == TQt::LeftButton) {
m_dragging = true;
m_currentPoint = event->pos();
PointPair temp(m_curve->end(),false);
@@ -771,7 +771,7 @@ TQWidget* KisToolMagnetic::createOptionWidget(TQWidget* parent)
m_mode = new TQLabel(i18n("Automatic mode"), m_optWidget);
m_lbDistance = new TQLabel(i18n("Distance: "), m_optWidget);
TQPushButton *finish = new TQPushButton(i18n("To Selection"), m_optWidget);
- m_slDistance = new TQSlider(MINDIST, MAXDIST, PAGESTEP, m_distance, Qt::Horizontal, m_optWidget);
+ m_slDistance = new TQSlider(MINDIST, MAXDIST, PAGESTEP, m_distance, TQt::Horizontal, m_optWidget);
connect(m_slDistance, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotSetDistance(int)));
connect(finish, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCommitCurve()));