summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/tools/tool_selectsimilar
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-14 21:10:09 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-14 21:10:09 -0600
commite6cf8874a75a09b279e13f59e78b31804b1d6f83 (patch)
tree73cf4e5dee6ce00c4fa7d32243c322631c50712c /chalk/plugins/tools/tool_selectsimilar
parent35dc3d657c5d486b5233ce8e6ec74bf9656aaedf (diff)
downloadkoffice-e6cf8874a75a09b279e13f59e78b31804b1d6f83.tar.gz
koffice-e6cf8874a75a09b279e13f59e78b31804b1d6f83.zip
Update various qt function definitions and static methods for tqt3
Diffstat (limited to 'chalk/plugins/tools/tool_selectsimilar')
-rw-r--r--chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cc14
-rw-r--r--chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.h2
2 files changed, 8 insertions, 8 deletions
diff --git a/chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cc b/chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cc
index 700efa4b..58db0dad 100644
--- a/chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cc
+++ b/chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cc
@@ -203,7 +203,7 @@ void KisToolSelectSimilar::setup(KActionCollection *collection)
if (m_action == 0) {
m_action = new KRadioAction(i18n("&Similar Selection"), "tool_similar_selection", "Ctrl+E", this, TQT_SLOT(activate()), collection, name());
- Q_CHECK_PTR(m_action);
+ TQ_CHECK_PTR(m_action);
m_action->setToolTip(i18n("Select similar colors"));
m_action->setExclusiveGroup("tools");
m_ownAction = true;
@@ -229,29 +229,29 @@ void KisToolSelectSimilar::slotSetAction(int action)
TQWidget* KisToolSelectSimilar::createOptionWidget(TQWidget* parent)
{
m_optWidget = new TQWidget(parent);
- Q_CHECK_PTR(m_optWidget);
+ TQ_CHECK_PTR(m_optWidget);
m_optWidget->setCaption(i18n("Similar Selection"));
TQVBoxLayout * l = new TQVBoxLayout(m_optWidget, 0, 6);
- Q_CHECK_PTR(l);
+ TQ_CHECK_PTR(l);
m_selectionOptionsWidget = new KisSelectionOptions(m_optWidget, m_subject);
- Q_CHECK_PTR(m_selectionOptionsWidget);
+ TQ_CHECK_PTR(m_selectionOptionsWidget);
l->addWidget(m_selectionOptionsWidget);
connect (m_selectionOptionsWidget, TQT_SIGNAL(actionChanged(int)), this, TQT_SLOT(slotSetAction(int)));
TQHBoxLayout * hbox = new TQHBoxLayout(l);
- Q_CHECK_PTR(hbox);
+ TQ_CHECK_PTR(hbox);
TQLabel * lbl = new TQLabel(i18n("Fuzziness: "), m_optWidget);
- Q_CHECK_PTR(lbl);
+ TQ_CHECK_PTR(lbl);
hbox->addWidget(lbl);
KIntNumInput * input = new KIntNumInput(m_optWidget, "fuzziness");
- Q_CHECK_PTR(input);
+ TQ_CHECK_PTR(input);
input->setRange(0, 200, 10, true);
input->setValue(20);
diff --git a/chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.h b/chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.h
index d2975040..b8702a4e 100644
--- a/chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.h
+++ b/chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.h
@@ -90,7 +90,7 @@ public:
virtual KisTool * createTool(KActionCollection * ac) {
KisTool * t = new KisToolSelectSimilar();
- Q_CHECK_PTR(t);
+ TQ_CHECK_PTR(t);
t->setup(ac);
return t;
}