summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cpp
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-13 20:22:52 +0900
commite1b37ac1936f81994a2c1aa2778298fbc757531f (patch)
tree2e2df5ea5786d581b10e51e0cbde9f4921697b2f /chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cpp
parentd08f80f854355e446d1c6be0eb50166646f7f291 (diff)
downloadkoffice-e1b37ac1.tar.gz
koffice-e1b37ac1.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c0332621bc998c9786f4841e86a62b7711fe4abf)
Diffstat (limited to 'chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cpp')
-rw-r--r--chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cpp b/chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cpp
index 3a5182b42..62f014d98 100644
--- a/chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cpp
+++ b/chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cpp
@@ -97,7 +97,7 @@ KisToolSelectSimilar::KisToolSelectSimilar()
m_fuzziness = 20;
m_currentSelectAction = m_defaultSelectAction = SELECTION_ADD;
m_timer = new TQTimer(this);
- connect(m_timer, TQT_SIGNAL(timeout()), TQT_SLOT(slotTimer()) );
+ connect(m_timer, TQ_SIGNAL(timeout()), TQ_SLOT(slotTimer()) );
}
KisToolSelectSimilar::~KisToolSelectSimilar()
@@ -202,7 +202,7 @@ void KisToolSelectSimilar::setup(TDEActionCollection *collection)
m_action = static_cast<TDERadioAction *>(collection->action(name()));
if (m_action == 0) {
- m_action = new TDERadioAction(i18n("&Similar Selection"), "tool_similar_selection", "Ctrl+E", this, TQT_SLOT(activate()), collection, name());
+ m_action = new TDERadioAction(i18n("&Similar Selection"), "tool_similar_selection", "Ctrl+E", this, TQ_SLOT(activate()), collection, name());
TQ_CHECK_PTR(m_action);
m_action->setToolTip(i18n("Select similar colors"));
m_action->setExclusiveGroup("tools");
@@ -240,7 +240,7 @@ TQWidget* KisToolSelectSimilar::createOptionWidget(TQWidget* parent)
TQ_CHECK_PTR(m_selectionOptionsWidget);
l->addWidget(m_selectionOptionsWidget);
- connect (m_selectionOptionsWidget, TQT_SIGNAL(actionChanged(int)), this, TQT_SLOT(slotSetAction(int)));
+ connect (m_selectionOptionsWidget, TQ_SIGNAL(actionChanged(int)), this, TQ_SLOT(slotSetAction(int)));
TQHBoxLayout * hbox = new TQHBoxLayout(l);
TQ_CHECK_PTR(hbox);
@@ -256,7 +256,7 @@ TQWidget* KisToolSelectSimilar::createOptionWidget(TQWidget* parent)
input->setRange(0, 200, 10, true);
input->setValue(20);
hbox->addWidget(input);
- connect(input, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotSetFuzziness(int)));
+ connect(input, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotSetFuzziness(int)));
l->addItem(new TQSpacerItem(1, 1, TQSizePolicy::Fixed, TQSizePolicy::Expanding));