summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/tools/tool_perspectivetransform
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 10:30:32 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 12:36:03 +0900
commitc0332621bc998c9786f4841e86a62b7711fe4abf (patch)
tree38b3ab6688de7a9396a1c5993a8ec265f5f33b64 /chalk/plugins/tools/tool_perspectivetransform
parent6c81ff8d61ec679e735d3fbd875583b12f0ef0a5 (diff)
downloadkoffice-c0332621bc998c9786f4841e86a62b7711fe4abf.tar.gz
koffice-c0332621bc998c9786f4841e86a62b7711fe4abf.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'chalk/plugins/tools/tool_perspectivetransform')
-rw-r--r--chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.cpp b/chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.cpp
index 19451d94..8d63c65c 100644
--- a/chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.cpp
+++ b/chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.cpp
@@ -157,7 +157,7 @@ void KisToolPerspectiveTransform::deactivate()
paintOutline();
- disconnect(m_subject->currentImg().data(), TQT_SIGNAL(sigLayerActivated(KisLayerSP)), this, TQT_SLOT(slotLayerActivated(KisLayerSP)));
+ disconnect(m_subject->currentImg().data(), TQ_SIGNAL(sigLayerActivated(KisLayerSP)), this, TQ_SLOT(slotLayerActivated(KisLayerSP)));
}
void KisToolPerspectiveTransform::activate()
@@ -196,7 +196,7 @@ void KisToolPerspectiveTransform::activate()
initHandles();
}
}
- connect(m_subject->currentImg(), TQT_SIGNAL(sigLayerActivated(KisLayerSP)), this, TQT_SLOT(slotLayerActivated(KisLayerSP)));
+ connect(m_subject->currentImg(), TQ_SIGNAL(sigLayerActivated(KisLayerSP)), this, TQ_SLOT(slotLayerActivated(KisLayerSP)));
}
void KisToolPerspectiveTransform::initHandles()
@@ -691,17 +691,17 @@ TQWidget* KisToolPerspectiveTransform::createOptionWidget(TQWidget* /*parent*/)
m_optWidget->cmbFilter->setIDList(KisFilterStrategyRegistry::instance()->listKeys());
m_optWidget->cmbFilter->setCurrentText("Mitchell");
- connect(m_optWidget->cmbFilter, TQT_SIGNAL(activated(const KisID &)),
- this, TQT_SLOT(slotSetFilter(const KisID &)));
+ connect(m_optWidget->cmbFilter, TQ_SIGNAL(activated(const KisID &)),
+ this, TQ_SLOT(slotSetFilter(const KisID &)));
KisID filterID = m_optWidget->cmbFilter->currentItem();
m_filter = KisFilterStrategyRegistry::instance()->get(filterID);
/*
- connect(m_optWidget->intStartX, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(setStartX(int)));
- connect(m_optWidget->intStartY, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(setStartY(int)));
- connect(m_optWidget->intEndX, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(setEndX(int)));
- connect(m_optWidget->intEndY, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(setEndY(int)));
+ connect(m_optWidget->intStartX, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(setStartX(int)));
+ connect(m_optWidget->intStartY, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(setStartY(int)));
+ connect(m_optWidget->intEndX, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(setEndX(int)));
+ connect(m_optWidget->intEndY, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(setEndY(int)));
*/
m_optWidget->intStartX->hide();
m_optWidget->intStartY->hide();
@@ -729,7 +729,7 @@ void KisToolPerspectiveTransform::setup(TDEActionCollection *collection)
"tool_perspectivetransform",
0,
this,
- TQT_SLOT(activate()),
+ TQ_SLOT(activate()),
collection,
name());
TQ_CHECK_PTR(m_action);