summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/viewplugins/colorrange
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/viewplugins/colorrange
parentd08f80f854355e446d1c6be0eb50166646f7f291 (diff)
downloadkoffice-e1b37ac1936f81994a2c1aa2778298fbc757531f.tar.gz
koffice-e1b37ac1936f81994a2c1aa2778298fbc757531f.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/viewplugins/colorrange')
-rw-r--r--chalk/plugins/viewplugins/colorrange/colorrange.cpp2
-rw-r--r--chalk/plugins/viewplugins/colorrange/dlg_colorrange.cpp32
2 files changed, 17 insertions, 17 deletions
diff --git a/chalk/plugins/viewplugins/colorrange/colorrange.cpp b/chalk/plugins/viewplugins/colorrange/colorrange.cpp
index be0648bab..722467d21 100644
--- a/chalk/plugins/viewplugins/colorrange/colorrange.cpp
+++ b/chalk/plugins/viewplugins/colorrange/colorrange.cpp
@@ -58,7 +58,7 @@ ColorRange::ColorRange(TQObject *parent, const char *name, const TQStringList &)
setInstance(ColorRangeFactory::instance());
setXMLFile(locate("data","chalkplugins/colorrange.rc"), true);
m_view = dynamic_cast<KisView*>(parent);
- m_view->canvasSubject()->selectionManager()->addSelectionAction( new TDEAction(i18n("&Color Range..."), 0, 0, this, TQT_SLOT(slotActivated()), actionCollection(), "colorrange") );
+ m_view->canvasSubject()->selectionManager()->addSelectionAction( new TDEAction(i18n("&Color Range..."), 0, 0, this, TQ_SLOT(slotActivated()), actionCollection(), "colorrange") );
}
}
diff --git a/chalk/plugins/viewplugins/colorrange/dlg_colorrange.cpp b/chalk/plugins/viewplugins/colorrange/dlg_colorrange.cpp
index b6b528606..55a582048 100644
--- a/chalk/plugins/viewplugins/colorrange/dlg_colorrange.cpp
+++ b/chalk/plugins/viewplugins/colorrange/dlg_colorrange.cpp
@@ -201,29 +201,29 @@ DlgColorRange::DlgColorRange( KisView * view, KisPaintDeviceSP dev, TQWidget *
m_mode = SELECTION_ADD;
m_currentAction = REDS;
- connect(this, TQT_SIGNAL(okClicked()),
- this, TQT_SLOT(okClicked()));
+ connect(this, TQ_SIGNAL(okClicked()),
+ this, TQ_SLOT(okClicked()));
- connect(this, TQT_SIGNAL(cancelClicked()),
- this, TQT_SLOT(cancelClicked()));
+ connect(this, TQ_SIGNAL(cancelClicked()),
+ this, TQ_SLOT(cancelClicked()));
- connect(m_page->chkInvert, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotInvertClicked()));
+ connect(m_page->chkInvert, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotInvertClicked()));
- connect(m_page->cmbSelect, TQT_SIGNAL(activated(int)),
- this, TQT_SLOT(slotSelectionTypeChanged(int)));
+ connect(m_page->cmbSelect, TQ_SIGNAL(activated(int)),
+ this, TQ_SLOT(slotSelectionTypeChanged(int)));
- connect (m_page->radioAdd, TQT_SIGNAL(toggled(bool)),
- this, TQT_SLOT(slotAdd(bool)));
+ connect (m_page->radioAdd, TQ_SIGNAL(toggled(bool)),
+ this, TQ_SLOT(slotAdd(bool)));
- connect (m_page->radioSubtract, TQT_SIGNAL(toggled(bool)),
- this, TQT_SLOT(slotSubtract(bool)));
+ connect (m_page->radioSubtract, TQ_SIGNAL(toggled(bool)),
+ this, TQ_SLOT(slotSubtract(bool)));
- connect (m_page->bnSelect, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotSelectClicked()));
+ connect (m_page->bnSelect, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotSelectClicked()));
- connect (m_page->bnDeselect, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotDeselectClicked()));
+ connect (m_page->bnDeselect, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotDeselectClicked()));
}