diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-14 21:10:09 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-14 21:10:09 -0600 |
commit | e6cf8874a75a09b279e13f59e78b31804b1d6f83 (patch) | |
tree | 73cf4e5dee6ce00c4fa7d32243c322631c50712c /chalk/plugins/tools/tool_curves | |
parent | 35dc3d657c5d486b5233ce8e6ec74bf9656aaedf (diff) | |
download | koffice-e6cf8874a75a09b279e13f59e78b31804b1d6f83.tar.gz koffice-e6cf8874a75a09b279e13f59e78b31804b1d6f83.zip |
Update various qt function definitions and static methods for tqt3
Diffstat (limited to 'chalk/plugins/tools/tool_curves')
9 files changed, 10 insertions, 10 deletions
diff --git a/chalk/plugins/tools/tool_curves/kis_tool_bezier_paint.cc b/chalk/plugins/tools/tool_curves/kis_tool_bezier_paint.cc index 663e1324..b9d06ffe 100644 --- a/chalk/plugins/tools/tool_curves/kis_tool_bezier_paint.cc +++ b/chalk/plugins/tools/tool_curves/kis_tool_bezier_paint.cc @@ -104,7 +104,7 @@ void KisToolBezierPaint::setup(KActionCollection *collection) TQT_SLOT(activate()), collection, name()); - Q_CHECK_PTR(m_action); + TQ_CHECK_PTR(m_action); m_action->setToolTip(i18n("Draw cubic beziers. Keep Alt, Control or Shift pressed for options. Return or double-click to finish.")); m_action->setExclusiveGroup("tools"); diff --git a/chalk/plugins/tools/tool_curves/kis_tool_bezier_paint.h b/chalk/plugins/tools/tool_curves/kis_tool_bezier_paint.h index 582c89cd..482b481f 100644 --- a/chalk/plugins/tools/tool_curves/kis_tool_bezier_paint.h +++ b/chalk/plugins/tools/tool_curves/kis_tool_bezier_paint.h @@ -53,7 +53,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisTool * t = new KisToolBezierPaint(); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); t->setup(ac); return t; } diff --git a/chalk/plugins/tools/tool_curves/kis_tool_bezier_select.cc b/chalk/plugins/tools/tool_curves/kis_tool_bezier_select.cc index ed1200d4..294bc1e7 100644 --- a/chalk/plugins/tools/tool_curves/kis_tool_bezier_select.cc +++ b/chalk/plugins/tools/tool_curves/kis_tool_bezier_select.cc @@ -93,7 +93,7 @@ void KisToolBezierSelect::setup(KActionCollection *collection) TQT_SLOT(activate()), collection, name()); - Q_CHECK_PTR(m_action); + TQ_CHECK_PTR(m_action); m_action->setToolTip(i18n("Select areas of the image with bezier paths.")); m_action->setExclusiveGroup("tools"); diff --git a/chalk/plugins/tools/tool_curves/kis_tool_bezier_select.h b/chalk/plugins/tools/tool_curves/kis_tool_bezier_select.h index 07aecc3a..3969d1ba 100644 --- a/chalk/plugins/tools/tool_curves/kis_tool_bezier_select.h +++ b/chalk/plugins/tools/tool_curves/kis_tool_bezier_select.h @@ -53,7 +53,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisTool * t = new KisToolBezierSelect(); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); t->setup(ac); return t; } diff --git a/chalk/plugins/tools/tool_curves/kis_tool_curve.cc b/chalk/plugins/tools/tool_curves/kis_tool_curve.cc index 16d238fc..f70d23af 100644 --- a/chalk/plugins/tools/tool_curves/kis_tool_curve.cc +++ b/chalk/plugins/tools/tool_curves/kis_tool_curve.cc @@ -571,7 +571,7 @@ void KisToolCurve::slotSetAction(int action) { TQWidget* KisToolCurve::createSelectionOptionWidget(TQWidget* parent) { m_optWidget = new KisSelectionOptions(parent, m_subject); - Q_CHECK_PTR(m_optWidget); + TQ_CHECK_PTR(m_optWidget); m_optWidget->setCaption(m_UIName); connect (m_optWidget, TQT_SIGNAL(actionChanged(int)), this, TQT_SLOT(slotSetAction(int))); diff --git a/chalk/plugins/tools/tool_curves/kis_tool_example.cc b/chalk/plugins/tools/tool_curves/kis_tool_example.cc index e14abcb5..71a34f93 100644 --- a/chalk/plugins/tools/tool_curves/kis_tool_example.cc +++ b/chalk/plugins/tools/tool_curves/kis_tool_example.cc @@ -97,7 +97,7 @@ void KisToolExample::setup(KActionCollection *collection) TQT_SLOT(activate()), collection, name()); - Q_CHECK_PTR(m_action); + TQ_CHECK_PTR(m_action); m_action->setToolTip(i18n("This is a test tool for the Curve Framework.")); m_action->setExclusiveGroup("tools"); diff --git a/chalk/plugins/tools/tool_curves/kis_tool_example.h b/chalk/plugins/tools/tool_curves/kis_tool_example.h index ad77204e..f4b8ac5e 100644 --- a/chalk/plugins/tools/tool_curves/kis_tool_example.h +++ b/chalk/plugins/tools/tool_curves/kis_tool_example.h @@ -56,7 +56,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisTool * t = new KisToolExample(); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); t->setup(ac); return t; } diff --git a/chalk/plugins/tools/tool_curves/kis_tool_moutline.cc b/chalk/plugins/tools/tool_curves/kis_tool_moutline.cc index 28545a50..36e94fe8 100644 --- a/chalk/plugins/tools/tool_curves/kis_tool_moutline.cc +++ b/chalk/plugins/tools/tool_curves/kis_tool_moutline.cc @@ -766,7 +766,7 @@ TQWidget* KisToolMagnetic::createOptionWidget(TQWidget* parent) TQGridLayout *box = new TQGridLayout(l, 2, 2, 3); box->setColStretch(0, 1); box->setColStretch(1, 1); - Q_CHECK_PTR(box); + TQ_CHECK_PTR(box); m_mode = new TQLabel(i18n("Automatic mode"), m_optWidget); m_lbDistance = new TQLabel(i18n("Distance: "), m_optWidget); @@ -798,7 +798,7 @@ void KisToolMagnetic::setup(KActionCollection *collection) TQT_SLOT(activate()), collection, name()); - Q_CHECK_PTR(m_action); + TQ_CHECK_PTR(m_action); m_action->setToolTip(i18n("Magnetic Selection: move around an edge to select it. Hit Ctrl to enter/quit manual mode, and double click to finish.")); m_action->setExclusiveGroup("tools"); diff --git a/chalk/plugins/tools/tool_curves/kis_tool_moutline.h b/chalk/plugins/tools/tool_curves/kis_tool_moutline.h index ca15aaef..3f58ab8f 100644 --- a/chalk/plugins/tools/tool_curves/kis_tool_moutline.h +++ b/chalk/plugins/tools/tool_curves/kis_tool_moutline.h @@ -122,7 +122,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisTool * t = new KisToolMagnetic(); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); t->setup(ac); return t; } |