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 | |
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')
60 files changed, 86 insertions, 86 deletions
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_brush.cc b/chalk/plugins/tools/defaulttools/kis_tool_brush.cc index 384e4e26..6858baf2 100644 --- a/chalk/plugins/tools/defaulttools/kis_tool_brush.cc +++ b/chalk/plugins/tools/defaulttools/kis_tool_brush.cc @@ -53,7 +53,7 @@ KisToolBrush::KisToolBrush() setCursor(KisCursor::load("tool_freehand_cursor.png", 5, 5)); m_rate = 100; // Conveniently hardcoded for now m_timer = new TQTimer(this); - Q_CHECK_PTR(m_timer); + TQ_CHECK_PTR(m_timer); connect(m_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(timeoutPaint())); @@ -155,7 +155,7 @@ TQWidget* KisToolBrush::createOptionWidget(TQWidget* parent) connect(m_chkDirect, TQT_SIGNAL(stateChanged(int)), this, TQT_SLOT(slotSetPaintingMode(int))); m_optionLayout = new TQGridLayout(widget, 3, 2, 0, 6); - Q_CHECK_PTR(m_optionLayout); + TQ_CHECK_PTR(m_optionLayout); super::addOptionWidgetLayout(m_optionLayout); m_optionLayout->addWidget(m_chkDirect, 0, 0); diff --git a/chalk/plugins/tools/defaulttools/kis_tool_brush.h b/chalk/plugins/tools/defaulttools/kis_tool_brush.h index cc40a8c0..b1188f88 100644 --- a/chalk/plugins/tools/defaulttools/kis_tool_brush.h +++ b/chalk/plugins/tools/defaulttools/kis_tool_brush.h @@ -75,7 +75,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisTool * t = new KisToolBrush(); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); t->setup(ac); return t; } diff --git a/chalk/plugins/tools/defaulttools/kis_tool_colorpicker.h b/chalk/plugins/tools/defaulttools/kis_tool_colorpicker.h index b6ee36d3..59f9193b 100644 --- a/chalk/plugins/tools/defaulttools/kis_tool_colorpicker.h +++ b/chalk/plugins/tools/defaulttools/kis_tool_colorpicker.h @@ -76,7 +76,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisTool * t = new KisToolColorPicker(); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); t->setup(ac); return t; } diff --git a/chalk/plugins/tools/defaulttools/kis_tool_duplicate.h b/chalk/plugins/tools/defaulttools/kis_tool_duplicate.h index ec04a592..3a94e0ae 100644 --- a/chalk/plugins/tools/defaulttools/kis_tool_duplicate.h +++ b/chalk/plugins/tools/defaulttools/kis_tool_duplicate.h @@ -79,7 +79,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisTool * t = new KisToolDuplicate(); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); t->setup(ac); return t; } diff --git a/chalk/plugins/tools/defaulttools/kis_tool_ellipse.h b/chalk/plugins/tools/defaulttools/kis_tool_ellipse.h index 4f79fbd6..be3ccc96 100644 --- a/chalk/plugins/tools/defaulttools/kis_tool_ellipse.h +++ b/chalk/plugins/tools/defaulttools/kis_tool_ellipse.h @@ -79,7 +79,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisTool * t = new KisToolEllipse(); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); t->setup(ac); return t; } diff --git a/chalk/plugins/tools/defaulttools/kis_tool_fill.h b/chalk/plugins/tools/defaulttools/kis_tool_fill.h index 01b1f139..adcb3758 100644 --- a/chalk/plugins/tools/defaulttools/kis_tool_fill.h +++ b/chalk/plugins/tools/defaulttools/kis_tool_fill.h @@ -94,7 +94,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisToolFill * t = new KisToolFill(); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); t->setup(ac); return t; } diff --git a/chalk/plugins/tools/defaulttools/kis_tool_gradient.cc b/chalk/plugins/tools/defaulttools/kis_tool_gradient.cc index b29e5e3a..46ba1f75 100644 --- a/chalk/plugins/tools/defaulttools/kis_tool_gradient.cc +++ b/chalk/plugins/tools/defaulttools/kis_tool_gradient.cc @@ -229,7 +229,7 @@ void KisToolGradient::paintLine(KisCanvasPainter& gc) TQWidget* KisToolGradient::createOptionWidget(TQWidget* parent) { TQWidget *widget = super::createOptionWidget(parent); - Q_CHECK_PTR(widget); + TQ_CHECK_PTR(widget); m_lbShape = new TQLabel(i18n("Shape:"), widget); m_lbRepeat = new TQLabel(i18n("Repeat:"), widget); diff --git a/chalk/plugins/tools/defaulttools/kis_tool_gradient.h b/chalk/plugins/tools/defaulttools/kis_tool_gradient.h index 08ab06ab..5d26b2b5 100644 --- a/chalk/plugins/tools/defaulttools/kis_tool_gradient.h +++ b/chalk/plugins/tools/defaulttools/kis_tool_gradient.h @@ -111,7 +111,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisTool * t = new KisToolGradient(); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); t->setup(ac); return t; } diff --git a/chalk/plugins/tools/defaulttools/kis_tool_line.cc b/chalk/plugins/tools/defaulttools/kis_tool_line.cc index 243052cf..960d19f6 100644 --- a/chalk/plugins/tools/defaulttools/kis_tool_line.cc +++ b/chalk/plugins/tools/defaulttools/kis_tool_line.cc @@ -142,7 +142,7 @@ void KisToolLine::buttonRelease(KisButtonReleaseEvent *e) { delete m_painter; m_painter = new KisPainter( device ); - Q_CHECK_PTR(m_painter); + TQ_CHECK_PTR(m_painter); if (m_currentImage->undo()) m_painter->beginTransaction(i18n("Line")); diff --git a/chalk/plugins/tools/defaulttools/kis_tool_line.h b/chalk/plugins/tools/defaulttools/kis_tool_line.h index 4ce0ff38..293a8484 100644 --- a/chalk/plugins/tools/defaulttools/kis_tool_line.h +++ b/chalk/plugins/tools/defaulttools/kis_tool_line.h @@ -86,7 +86,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisTool * t = new KisToolLine(); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); t->setup(ac); return t; } diff --git a/chalk/plugins/tools/defaulttools/kis_tool_move.h b/chalk/plugins/tools/defaulttools/kis_tool_move.h index 274cc3c7..321e9bb2 100644 --- a/chalk/plugins/tools/defaulttools/kis_tool_move.h +++ b/chalk/plugins/tools/defaulttools/kis_tool_move.h @@ -76,7 +76,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisTool * t = new KisToolMove(); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); t->setup(ac); return t; } diff --git a/chalk/plugins/tools/defaulttools/kis_tool_pan.h b/chalk/plugins/tools/defaulttools/kis_tool_pan.h index 36ed9dcc..5318b340 100644 --- a/chalk/plugins/tools/defaulttools/kis_tool_pan.h +++ b/chalk/plugins/tools/defaulttools/kis_tool_pan.h @@ -68,7 +68,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisTool * t = new KisToolPan(); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); t->setup(ac); return t; } diff --git a/chalk/plugins/tools/defaulttools/kis_tool_rectangle.h b/chalk/plugins/tools/defaulttools/kis_tool_rectangle.h index d9f898a9..a42d6bcb 100644 --- a/chalk/plugins/tools/defaulttools/kis_tool_rectangle.h +++ b/chalk/plugins/tools/defaulttools/kis_tool_rectangle.h @@ -84,7 +84,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisTool * t = new KisToolRectangle(); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); t->setup(ac); return t; } diff --git a/chalk/plugins/tools/defaulttools/kis_tool_text.h b/chalk/plugins/tools/defaulttools/kis_tool_text.h index 2625fb58..8e116d65 100644 --- a/chalk/plugins/tools/defaulttools/kis_tool_text.h +++ b/chalk/plugins/tools/defaulttools/kis_tool_text.h @@ -70,7 +70,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisTool * t = new KisToolText(); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); t->setup(ac); return t; } diff --git a/chalk/plugins/tools/defaulttools/kis_tool_zoom.h b/chalk/plugins/tools/defaulttools/kis_tool_zoom.h index 3faa5bf1..a6d28188 100644 --- a/chalk/plugins/tools/defaulttools/kis_tool_zoom.h +++ b/chalk/plugins/tools/defaulttools/kis_tool_zoom.h @@ -87,7 +87,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisTool * t = new KisToolZoom(); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); t->setup(ac); return t; } diff --git a/chalk/plugins/tools/selectiontools/kis_tool_move_selection.cc b/chalk/plugins/tools/selectiontools/kis_tool_move_selection.cc index 343cee9f..85772397 100644 --- a/chalk/plugins/tools/selectiontools/kis_tool_move_selection.cc +++ b/chalk/plugins/tools/selectiontools/kis_tool_move_selection.cc @@ -188,7 +188,7 @@ void KisToolMoveSelection::buttonRelease(KisButtonReleaseEvent *e) if (img->undo()) { KCommand *cmd = new KisSelectionOffsetCommand( dev, m_layerStart, m_layerPosition); - Q_CHECK_PTR(cmd); + TQ_CHECK_PTR(cmd); KisUndoAdapter *adapter = img->undoAdapter(); if (adapter) { adapter->addCommand(cmd); diff --git a/chalk/plugins/tools/selectiontools/kis_tool_move_selection.h b/chalk/plugins/tools/selectiontools/kis_tool_move_selection.h index 60d73a9b..a8c604ec 100644 --- a/chalk/plugins/tools/selectiontools/kis_tool_move_selection.h +++ b/chalk/plugins/tools/selectiontools/kis_tool_move_selection.h @@ -62,7 +62,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisTool * t = new KisToolMoveSelection(); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); t->setup(ac); return t; } diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_brush.cc b/chalk/plugins/tools/selectiontools/kis_tool_select_brush.cc index d6c8dd23..c2ca5405 100644 --- a/chalk/plugins/tools/selectiontools/kis_tool_select_brush.cc +++ b/chalk/plugins/tools/selectiontools/kis_tool_select_brush.cc @@ -92,7 +92,7 @@ void KisToolSelectBrush::initPaint(KisEvent* /*e*/) m_target = selection; m_painter = new KisPainter(selection.data()); - Q_CHECK_PTR(m_painter); + TQ_CHECK_PTR(m_painter); m_painter->setPaintColor(KisColor(TQt::black, selection->colorSpace())); m_painter->setBrush(m_subject->currentBrush()); m_painter->setOpacity(OPACITY_OPAQUE);//m_subject->fgColor().colorSpace()->intensity8(m_subject->fgColor().data())); @@ -136,7 +136,7 @@ void KisToolSelectBrush::setup(KActionCollection *collection) "tool_brush_selection", "Ctrl+Shift+B", this, TQT_SLOT(activate()), collection, name()); - Q_CHECK_PTR(m_action); + TQ_CHECK_PTR(m_action); m_action->setToolTip(i18n("Paint a selection")); m_action->setExclusiveGroup("tools"); m_ownAction = true; @@ -149,7 +149,7 @@ TQWidget* KisToolSelectBrush::createOptionWidget(TQWidget* parent) // Commented out due to the fact that this doesn't actually work if you change the action #if 0 m_optWidget = new KisSelectionOptions(parent, m_subject); - Q_CHECK_PTR(m_optWidget); + TQ_CHECK_PTR(m_optWidget); m_optWidget->setCaption(i18n("Selection Brush")); TQVBoxLayout * l = dynamic_cast<TQVBoxLayout*>(m_optWidget->layout()); diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_brush.h b/chalk/plugins/tools/selectiontools/kis_tool_select_brush.h index 9fd07e6d..a2660016 100644 --- a/chalk/plugins/tools/selectiontools/kis_tool_select_brush.h +++ b/chalk/plugins/tools/selectiontools/kis_tool_select_brush.h @@ -71,7 +71,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisTool * t = new KisToolSelectBrush(); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); t->setup(ac); return t; } diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_contiguous.cc b/chalk/plugins/tools/selectiontools/kis_tool_select_contiguous.cc index 94c28e01..dd762a9d 100644 --- a/chalk/plugins/tools/selectiontools/kis_tool_select_contiguous.cc +++ b/chalk/plugins/tools/selectiontools/kis_tool_select_contiguous.cc @@ -149,7 +149,7 @@ void KisToolSelectContiguous::setup(KActionCollection *collection) TQT_SLOT(activate()), collection, name()); - Q_CHECK_PTR(m_action); + TQ_CHECK_PTR(m_action); m_action->setToolTip(i18n("Select a contiguous area")); m_action->setExclusiveGroup("tools"); m_ownAction = true; @@ -186,7 +186,7 @@ void KisToolSelectContiguous::slotSetAction(int action) TQWidget* KisToolSelectContiguous::createOptionWidget(TQWidget* parent) { m_optWidget = new KisSelectionOptions(parent, m_subject); - Q_CHECK_PTR(m_optWidget); + TQ_CHECK_PTR(m_optWidget); m_optWidget->setCaption(i18n("Contiguous Area Selection")); TQVBoxLayout * l = dynamic_cast<TQVBoxLayout*>(m_optWidget->layout()); @@ -195,13 +195,13 @@ TQWidget* KisToolSelectContiguous::createOptionWidget(TQWidget* parent) connect (m_optWidget, 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); 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/selectiontools/kis_tool_select_contiguous.h b/chalk/plugins/tools/selectiontools/kis_tool_select_contiguous.h index 688276e0..8b7db742 100644 --- a/chalk/plugins/tools/selectiontools/kis_tool_select_contiguous.h +++ b/chalk/plugins/tools/selectiontools/kis_tool_select_contiguous.h @@ -83,7 +83,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisTool * t = new KisToolSelectContiguous(); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); t->setup(ac); return t; } diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_elliptical.cc b/chalk/plugins/tools/selectiontools/kis_tool_select_elliptical.cc index c499f48a..77f96c5a 100644 --- a/chalk/plugins/tools/selectiontools/kis_tool_select_elliptical.cc +++ b/chalk/plugins/tools/selectiontools/kis_tool_select_elliptical.cc @@ -290,7 +290,7 @@ void KisToolSelectElliptical::setup(KActionCollection *collection) TQT_SLOT(activate()), collection, name()); - Q_CHECK_PTR(m_action); + TQ_CHECK_PTR(m_action); m_action->setToolTip(i18n("Select an elliptical area")); m_action->setExclusiveGroup("tools"); m_ownAction = true; @@ -300,7 +300,7 @@ void KisToolSelectElliptical::setup(KActionCollection *collection) TQWidget* KisToolSelectElliptical::createOptionWidget(TQWidget* parent) { m_optWidget = new KisSelectionOptions(parent, m_subject); - Q_CHECK_PTR(m_optWidget); + TQ_CHECK_PTR(m_optWidget); m_optWidget->setCaption(i18n("Elliptical Selection")); connect (m_optWidget, TQT_SIGNAL(actionChanged(int)), this, TQT_SLOT(slotSetAction(int))); diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_elliptical.h b/chalk/plugins/tools/selectiontools/kis_tool_select_elliptical.h index 4c21cfcd..6873b995 100644 --- a/chalk/plugins/tools/selectiontools/kis_tool_select_elliptical.h +++ b/chalk/plugins/tools/selectiontools/kis_tool_select_elliptical.h @@ -84,7 +84,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisTool * t = new KisToolSelectElliptical(); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); t->setup(ac); return t; } diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_eraser.cc b/chalk/plugins/tools/selectiontools/kis_tool_select_eraser.cc index de5b92f1..7054f69c 100644 --- a/chalk/plugins/tools/selectiontools/kis_tool_select_eraser.cc +++ b/chalk/plugins/tools/selectiontools/kis_tool_select_eraser.cc @@ -91,7 +91,7 @@ void KisToolSelectEraser::initPaint(KisEvent */*e*/) m_target = selection; m_painter = new KisPainter(selection.data()); - Q_CHECK_PTR(m_painter); + TQ_CHECK_PTR(m_painter); m_painter->beginTransaction(i18n("Selection Eraser")); m_painter->setPaintColor(KisColor(TQt::white, selection->colorSpace())); m_painter->setBrush(m_subject->currentBrush()); @@ -123,7 +123,7 @@ void KisToolSelectEraser::setup(KActionCollection *collection) "tool_eraser_selection", "Ctrl+Shift+E", this, TQT_SLOT(activate()), collection, name()); - Q_CHECK_PTR(m_action); + TQ_CHECK_PTR(m_action); m_action->setToolTip(i18n("Erase parts of a selection")); m_action->setExclusiveGroup("tools"); m_ownAction = true; @@ -136,7 +136,7 @@ TQWidget* KisToolSelectEraser::createOptionWidget(TQWidget* parent) // Commented out due to the fact that this doesn't actually work if you change the action #if 0 m_optWidget = new KisSelectionOptions(parent, m_subject); - Q_CHECK_PTR(m_optWidget); + TQ_CHECK_PTR(m_optWidget); m_optWidget->setCaption(i18n("Selection Eraser")); TQVBoxLayout * l = dynamic_cast<TQVBoxLayout*>(m_optWidget->layout()); diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_eraser.h b/chalk/plugins/tools/selectiontools/kis_tool_select_eraser.h index cb8b82ed..5825181b 100644 --- a/chalk/plugins/tools/selectiontools/kis_tool_select_eraser.h +++ b/chalk/plugins/tools/selectiontools/kis_tool_select_eraser.h @@ -69,7 +69,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisTool * t = new KisToolSelectEraser(); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); t->setup(ac); return t; } diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_outline.cc b/chalk/plugins/tools/selectiontools/kis_tool_select_outline.cc index a21b731e..3788eaa5 100644 --- a/chalk/plugins/tools/selectiontools/kis_tool_select_outline.cc +++ b/chalk/plugins/tools/selectiontools/kis_tool_select_outline.cc @@ -259,7 +259,7 @@ void KisToolSelectOutline::setup(KActionCollection *collection) TQT_SLOT(activate()), collection, name()); - Q_CHECK_PTR(m_action); + TQ_CHECK_PTR(m_action); m_action->setExclusiveGroup("tools"); m_action->setToolTip(i18n("Select an outline")); m_ownAction = true; @@ -270,7 +270,7 @@ void KisToolSelectOutline::setup(KActionCollection *collection) TQWidget* KisToolSelectOutline::createOptionWidget(TQWidget* parent) { m_optWidget = new KisSelectionOptions(parent, m_subject); - Q_CHECK_PTR(m_optWidget); + TQ_CHECK_PTR(m_optWidget); m_optWidget->setCaption(i18n("Outline Selection")); connect (m_optWidget, TQT_SIGNAL(actionChanged(int)), this, TQT_SLOT(slotSetAction(int))); diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_outline.h b/chalk/plugins/tools/selectiontools/kis_tool_select_outline.h index 08119c96..b8c8c332 100644 --- a/chalk/plugins/tools/selectiontools/kis_tool_select_outline.h +++ b/chalk/plugins/tools/selectiontools/kis_tool_select_outline.h @@ -89,7 +89,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisTool * t = new KisToolSelectOutline(); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); t->setup(ac); return t; } diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_polygonal.cc b/chalk/plugins/tools/selectiontools/kis_tool_select_polygonal.cc index 39f306ac..b7ad8cb6 100644 --- a/chalk/plugins/tools/selectiontools/kis_tool_select_polygonal.cc +++ b/chalk/plugins/tools/selectiontools/kis_tool_select_polygonal.cc @@ -278,7 +278,7 @@ void KisToolSelectPolygonal::setup(KActionCollection *collection) TQT_SLOT(activate()), collection, name()); - Q_CHECK_PTR(m_action); + TQ_CHECK_PTR(m_action); m_action->setExclusiveGroup("tools"); m_action->setToolTip(i18n("Select a polygonal area")); m_ownAction = true; @@ -289,7 +289,7 @@ void KisToolSelectPolygonal::setup(KActionCollection *collection) TQWidget* KisToolSelectPolygonal::createOptionWidget(TQWidget* parent) { m_optWidget = new KisSelectionOptions(parent, m_subject); - Q_CHECK_PTR(m_optWidget); + TQ_CHECK_PTR(m_optWidget); m_optWidget->setCaption(i18n("Polygonal Selection")); connect (m_optWidget, TQT_SIGNAL(actionChanged(int)), this, TQT_SLOT(slotSetAction(int))); diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_polygonal.h b/chalk/plugins/tools/selectiontools/kis_tool_select_polygonal.h index 6e2d62fa..6a0051f4 100644 --- a/chalk/plugins/tools/selectiontools/kis_tool_select_polygonal.h +++ b/chalk/plugins/tools/selectiontools/kis_tool_select_polygonal.h @@ -94,7 +94,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisTool * t = new KisToolSelectPolygonal(); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); t->setup(ac); return t; } diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cc b/chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cc index 3d580f89..316ce149 100644 --- a/chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cc +++ b/chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cc @@ -291,7 +291,7 @@ void KisToolSelectRectangular::setup(KActionCollection *collection) TQT_SLOT(activate()), collection, name()); - Q_CHECK_PTR(m_action); + TQ_CHECK_PTR(m_action); m_action->setExclusiveGroup("tools"); m_action->setToolTip(i18n("Select a rectangular area")); m_ownAction = true; @@ -301,7 +301,7 @@ void KisToolSelectRectangular::setup(KActionCollection *collection) TQWidget* KisToolSelectRectangular::createOptionWidget(TQWidget* parent) { m_optWidget = new KisSelectionOptions(parent, m_subject); - Q_CHECK_PTR(m_optWidget); + TQ_CHECK_PTR(m_optWidget); m_optWidget->setCaption(i18n("Rectangular Selection")); connect (m_optWidget, TQT_SIGNAL(actionChanged(int)), this, TQT_SLOT(slotSetAction(int))); diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.h b/chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.h index b2f8ecad..c2e25639 100644 --- a/chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.h +++ b/chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.h @@ -83,7 +83,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisTool * t = new KisToolSelectRectangular(); t->setup(ac); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); return t; } virtual KisID id() { return KisID("rectangularselect", i18n("Rectangular Select Tool")); } diff --git a/chalk/plugins/tools/tool_crop/kis_tool_crop.cc b/chalk/plugins/tools/tool_crop/kis_tool_crop.cc index 37107508..ec763b1a 100644 --- a/chalk/plugins/tools/tool_crop/kis_tool_crop.cc +++ b/chalk/plugins/tools/tool_crop/kis_tool_crop.cc @@ -701,7 +701,7 @@ void KisToolCrop::setOptionWidgetRatio(double ratio) TQWidget* KisToolCrop::createOptionWidget(TQWidget* parent) { m_optWidget = new WdgToolCrop(parent); - Q_CHECK_PTR(m_optWidget); + TQ_CHECK_PTR(m_optWidget); connect(m_optWidget->bnCrop, TQT_SIGNAL(clicked()), this, TQT_SLOT(crop())); @@ -731,7 +731,7 @@ void KisToolCrop::setup(KActionCollection *collection) TQT_SLOT(activate()), collection, name()); - Q_CHECK_PTR(m_action); + TQ_CHECK_PTR(m_action); m_action->setToolTip(i18n("Crop an area")); m_action->setExclusiveGroup("tools"); diff --git a/chalk/plugins/tools/tool_crop/kis_tool_crop.h b/chalk/plugins/tools/tool_crop/kis_tool_crop.h index 0f4f677a..142dd286 100644 --- a/chalk/plugins/tools/tool_crop/kis_tool_crop.h +++ b/chalk/plugins/tools/tool_crop/kis_tool_crop.h @@ -136,7 +136,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisTool * t = new KisToolCrop(); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); t->setup(ac); return t; } 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; } diff --git a/chalk/plugins/tools/tool_filter/kis_filterop.cc b/chalk/plugins/tools/tool_filter/kis_filterop.cc index 3c34abce..d3378730 100644 --- a/chalk/plugins/tools/tool_filter/kis_filterop.cc +++ b/chalk/plugins/tools/tool_filter/kis_filterop.cc @@ -93,7 +93,7 @@ void KisFilterOp::paintAt(const KisPoint &pos, const KisPaintInformation& info) // Create a temporary paint device KisPaintDeviceSP tmpDev = new KisPaintDevice(colorSpace, "filterop tmpdev"); - Q_CHECK_PTR(tmpDev); + TQ_CHECK_PTR(tmpDev); // Copy the layer data onto the new paint device diff --git a/chalk/plugins/tools/tool_filter/kis_tool_filter.cc b/chalk/plugins/tools/tool_filter/kis_tool_filter.cc index e53c96da..5dd75d4b 100644 --- a/chalk/plugins/tools/tool_filter/kis_tool_filter.cc +++ b/chalk/plugins/tools/tool_filter/kis_tool_filter.cc @@ -69,7 +69,7 @@ void KisToolFilter::setup(KActionCollection *collection) "tool_filter", 0, this, TQT_SLOT(activate()), collection, name()); - Q_CHECK_PTR(m_action); + TQ_CHECK_PTR(m_action); m_action->setToolTip(i18n("Paint with filters")); m_action->setExclusiveGroup("tools"); m_ownAction = true; @@ -101,10 +101,10 @@ TQWidget* KisToolFilter::createOptionWidget(TQWidget* parent) TQWidget *widget = super::createOptionWidget(parent); m_cbFilter = new KisCmbIDList(widget); - Q_CHECK_PTR(m_cbFilter); + TQ_CHECK_PTR(m_cbFilter); TQLabel* lbFilter = new TQLabel(i18n("Filter:"), widget); - Q_CHECK_PTR(lbFilter); + TQ_CHECK_PTR(lbFilter); // Check which filters support painting KisIDList l = KisFilterRegistry::instance()->listKeys(); @@ -121,7 +121,7 @@ TQWidget* KisToolFilter::createOptionWidget(TQWidget* parent) addOptionWidgetOption(m_cbFilter, lbFilter); m_optionLayout = new TQGridLayout(widget, 1, 1, 0, 6); - Q_CHECK_PTR(m_optionLayout); + TQ_CHECK_PTR(m_optionLayout); super::addOptionWidgetLayout(m_optionLayout); connect(m_cbFilter, TQT_SIGNAL(activated ( const KisID& )), this, TQT_SLOT( changeFilter( const KisID& ) ) ); diff --git a/chalk/plugins/tools/tool_filter/kis_tool_filter.h b/chalk/plugins/tools/tool_filter/kis_tool_filter.h index 651fbfb8..a69a1c22 100644 --- a/chalk/plugins/tools/tool_filter/kis_tool_filter.h +++ b/chalk/plugins/tools/tool_filter/kis_tool_filter.h @@ -70,7 +70,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisTool * t = new KisToolFilter(); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); t->setup(ac); return t; } diff --git a/chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.cc b/chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.cc index ae07e589..623cb848 100644 --- a/chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.cc +++ b/chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.cc @@ -477,7 +477,7 @@ void KisToolPerspectiveGrid::setup(KActionCollection *collection) TQT_SLOT(activate()), collection, name()); - Q_CHECK_PTR(m_action); + TQ_CHECK_PTR(m_action); m_action->setExclusiveGroup("tools"); m_action->setToolTip(i18n("Edit the perspective grid")); m_ownAction = true; diff --git a/chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.h b/chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.h index f7415f63..cd4f42bc 100644 --- a/chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.h +++ b/chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.h @@ -99,7 +99,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisTool * t = new KisToolPerspectiveGrid(); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); t->setup(ac); return t; } diff --git a/chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.cc b/chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.cc index 07598b7d..16a2ad54 100644 --- a/chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.cc +++ b/chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.cc @@ -685,7 +685,7 @@ TQWidget* KisToolPerspectiveTransform::createOptionWidget(TQWidget* /*parent*/) { #if 0 m_optWidget = new WdgToolPerspectiveTransform(parent); - Q_CHECK_PTR(m_optWidget); + TQ_CHECK_PTR(m_optWidget); m_optWidget->cmbFilter->clear(); m_optWidget->cmbFilter->setIDList(KisFilterStrategyRegistry::instance()->listKeys()); @@ -732,7 +732,7 @@ void KisToolPerspectiveTransform::setup(KActionCollection *collection) TQT_SLOT(activate()), collection, name()); - Q_CHECK_PTR(m_action); + TQ_CHECK_PTR(m_action); m_action->setToolTip(i18n("Perspective transform a layer or a selection")); m_action->setExclusiveGroup("tools"); m_ownAction = true; diff --git a/chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.h b/chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.h index 690e356c..845e0a70 100644 --- a/chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.h +++ b/chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.h @@ -119,7 +119,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisTool * t = new KisToolPerspectiveTransform(); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); t->setup(ac); return t; } virtual KisID id() { return KisID("perspective transform", i18n("Perspective transform Tool")); } diff --git a/chalk/plugins/tools/tool_polygon/kis_tool_polygon.cc b/chalk/plugins/tools/tool_polygon/kis_tool_polygon.cc index dba84042..56eeb5ab 100644 --- a/chalk/plugins/tools/tool_polygon/kis_tool_polygon.cc +++ b/chalk/plugins/tools/tool_polygon/kis_tool_polygon.cc @@ -230,7 +230,7 @@ void KisToolPolygon::setup(KActionCollection *collection) TQT_SLOT(activate()), collection, name()); - Q_CHECK_PTR(m_action); + TQ_CHECK_PTR(m_action); m_action->setToolTip(i18n("Draw a polygon. Shift-mouseclick ends the polygon.")); m_action->setExclusiveGroup("tools"); diff --git a/chalk/plugins/tools/tool_polygon/kis_tool_polygon.h b/chalk/plugins/tools/tool_polygon/kis_tool_polygon.h index 9be3f324..62c362f7 100644 --- a/chalk/plugins/tools/tool_polygon/kis_tool_polygon.h +++ b/chalk/plugins/tools/tool_polygon/kis_tool_polygon.h @@ -91,7 +91,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisTool * t = new KisToolPolygon(); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); t->setup(ac); return t; } diff --git a/chalk/plugins/tools/tool_polyline/kis_tool_polyline.cc b/chalk/plugins/tools/tool_polyline/kis_tool_polyline.cc index 4fab06e7..405b7aa1 100644 --- a/chalk/plugins/tools/tool_polyline/kis_tool_polyline.cc +++ b/chalk/plugins/tools/tool_polyline/kis_tool_polyline.cc @@ -245,7 +245,7 @@ void KisToolPolyline::setup(KActionCollection *collection) TQT_SLOT(activate()), collection, name()); - Q_CHECK_PTR(m_action); + TQ_CHECK_PTR(m_action); m_action->setToolTip(i18n("Draw a polyline. Shift-mouseclick ends the polyline.")); m_action->setExclusiveGroup("tools"); diff --git a/chalk/plugins/tools/tool_polyline/kis_tool_polyline.h b/chalk/plugins/tools/tool_polyline/kis_tool_polyline.h index a7cee195..057c9f66 100644 --- a/chalk/plugins/tools/tool_polyline/kis_tool_polyline.h +++ b/chalk/plugins/tools/tool_polyline/kis_tool_polyline.h @@ -98,7 +98,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisTool * t = new KisToolPolyline(); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); t->setup(ac); return t; } 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; } diff --git a/chalk/plugins/tools/tool_star/kis_tool_star.cc b/chalk/plugins/tools/tool_star/kis_tool_star.cc index 037f6bb5..7405de7d 100644 --- a/chalk/plugins/tools/tool_star/kis_tool_star.cc +++ b/chalk/plugins/tools/tool_star/kis_tool_star.cc @@ -187,7 +187,7 @@ void KisToolStar::setup(KActionCollection *collection) TQT_SLOT(activate()), collection, name()); - Q_CHECK_PTR(m_action); + TQ_CHECK_PTR(m_action); m_action->setToolTip(i18n("Draw a star")); m_action->setExclusiveGroup("tools"); @@ -230,7 +230,7 @@ TQWidget* KisToolStar::createOptionWidget(TQWidget* parent) TQWidget *widget = super::createOptionWidget(parent); m_optWidget = new WdgToolStar(widget); - Q_CHECK_PTR(m_optWidget); + TQ_CHECK_PTR(m_optWidget); m_optWidget->ratioSpinBox->setValue(m_innerOuterRatio); diff --git a/chalk/plugins/tools/tool_star/kis_tool_star.h b/chalk/plugins/tools/tool_star/kis_tool_star.h index 8128dcdf..87ac3a0f 100644 --- a/chalk/plugins/tools/tool_star/kis_tool_star.h +++ b/chalk/plugins/tools/tool_star/kis_tool_star.h @@ -90,7 +90,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisTool * t = new KisToolStar(); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); t->setup(ac); return t; } diff --git a/chalk/plugins/tools/tool_transform/kis_tool_transform.cc b/chalk/plugins/tools/tool_transform/kis_tool_transform.cc index d6759dca..51dff9a5 100644 --- a/chalk/plugins/tools/tool_transform/kis_tool_transform.cc +++ b/chalk/plugins/tools/tool_transform/kis_tool_transform.cc @@ -860,7 +860,7 @@ TQWidget* KisToolTransform::createOptionWidget(TQWidget* parent) { m_optWidget = new WdgToolTransform(parent); - Q_CHECK_PTR(m_optWidget); + TQ_CHECK_PTR(m_optWidget); m_optWidget->cmbFilter->clear(); m_optWidget->cmbFilter->setIDList(KisFilterStrategyRegistry::instance()->listKeys()); @@ -906,7 +906,7 @@ void KisToolTransform::setup(KActionCollection *collection) TQT_SLOT(activate()), collection, name()); - Q_CHECK_PTR(m_action); + TQ_CHECK_PTR(m_action); m_action->setToolTip(i18n("Transform a layer or a selection")); m_action->setExclusiveGroup("tools"); m_ownAction = true; diff --git a/chalk/plugins/tools/tool_transform/kis_tool_transform.h b/chalk/plugins/tools/tool_transform/kis_tool_transform.h index 70502d60..31f3b6af 100644 --- a/chalk/plugins/tools/tool_transform/kis_tool_transform.h +++ b/chalk/plugins/tools/tool_transform/kis_tool_transform.h @@ -143,7 +143,7 @@ public: virtual KisTool * createTool(KActionCollection * ac) { KisTool * t = new KisToolTransform(); - Q_CHECK_PTR(t); + TQ_CHECK_PTR(t); t->setup(ac); return t; } virtual KisID id() { return KisID("transform", i18n("Transform Tool")); } diff --git a/chalk/plugins/tools/tool_transform/tool_transform.cc b/chalk/plugins/tools/tool_transform/tool_transform.cc index b50499f0..32810020 100644 --- a/chalk/plugins/tools/tool_transform/tool_transform.cc +++ b/chalk/plugins/tools/tool_transform/tool_transform.cc @@ -51,7 +51,7 @@ ToolTransform::ToolTransform(TQObject *parent, const char *name, const TQStringL { KisToolRegistry * r = dynamic_cast<KisToolRegistry*>(parent); KisToolTransformFactory * f = new KisToolTransformFactory(); - Q_CHECK_PTR(f); + TQ_CHECK_PTR(f); r->add(f); } |