diff options
author | Timothy Pearson <[email protected]> | 2012-02-14 21:10:09 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-02-14 21:10:09 -0600 |
commit | e6cf8874a75a09b279e13f59e78b31804b1d6f83 (patch) | |
tree | 73cf4e5dee6ce00c4fa7d32243c322631c50712c /chalk/plugins | |
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')
109 files changed, 171 insertions, 171 deletions
diff --git a/chalk/plugins/filters/bumpmap/bumpmap.cc b/chalk/plugins/filters/bumpmap/bumpmap.cc index 4ae92469..32d0e636 100644 --- a/chalk/plugins/filters/bumpmap/bumpmap.cc +++ b/chalk/plugins/filters/bumpmap/bumpmap.cc @@ -461,7 +461,7 @@ KisBumpmapConfigWidget::KisBumpmapConfigWidget(KisFilter *, KisPaintDeviceSP dev { m_page = new WdgBumpmap(this); TQHBoxLayout * l = new TQHBoxLayout(this); - Q_CHECK_PTR(l); + TQ_CHECK_PTR(l); l->add(m_page); diff --git a/chalk/plugins/filters/cimg/kis_cimg_filter.cc b/chalk/plugins/filters/cimg/kis_cimg_filter.cc index 9c3a7543..a2d9e1bd 100644 --- a/chalk/plugins/filters/cimg/kis_cimg_filter.cc +++ b/chalk/plugins/filters/cimg/kis_cimg_filter.cc @@ -691,7 +691,7 @@ KisFilterConfiguration* KisCImgFilter::configuration(TQWidget* nwidget) if( widget == 0 ) { KisCImgFilterConfiguration * cfg = new KisCImgFilterConfiguration(); - Q_CHECK_PTR(cfg); + TQ_CHECK_PTR(cfg); return cfg; } else { diff --git a/chalk/plugins/filters/cimg/kis_cimgconfig_widget.cc b/chalk/plugins/filters/cimg/kis_cimgconfig_widget.cc index b65a435f..ba9e61e0 100644 --- a/chalk/plugins/filters/cimg/kis_cimgconfig_widget.cc +++ b/chalk/plugins/filters/cimg/kis_cimgconfig_widget.cc @@ -33,10 +33,10 @@ KisCImgconfigWidget::KisCImgconfigWidget(KisFilter* nfilter, TQWidget * parent, : KisFilterConfigWidget(parent, name, f) { m_page = new WdgCImg(this); - Q_CHECK_PTR(m_page); + TQ_CHECK_PTR(m_page); TQHBoxLayout * l = new TQHBoxLayout(this); - Q_CHECK_PTR(l); + TQ_CHECK_PTR(l); l->add(m_page); nfilter->setAutoUpdate(false); @@ -58,7 +58,7 @@ KisCImgconfigWidget::KisCImgconfigWidget(KisFilter* nfilter, TQWidget * parent, KisCImgFilterConfiguration * KisCImgconfigWidget::config() { KisCImgFilterConfiguration * cfg = new KisCImgFilterConfiguration(); - Q_CHECK_PTR(cfg); + TQ_CHECK_PTR(cfg); cfg->power1 = m_page->numDetail->value(); cfg->power2 = m_page->numGradient->value(); diff --git a/chalk/plugins/filters/colorsfilters/kis_brightness_contrast_filter.cc b/chalk/plugins/filters/colorsfilters/kis_brightness_contrast_filter.cc index e1224301..64bfb205 100644 --- a/chalk/plugins/filters/colorsfilters/kis_brightness_contrast_filter.cc +++ b/chalk/plugins/filters/colorsfilters/kis_brightness_contrast_filter.cc @@ -259,7 +259,7 @@ KisBrightnessContrastConfigWidget::KisBrightnessContrastConfigWidget(TQWidget * int height; m_page = new WdgBrightnessContrast(this); TQHBoxLayout * l = new TQHBoxLayout(this); - Q_CHECK_PTR(l); + TQ_CHECK_PTR(l); //Hide these buttons and labels as they are not implemented in 1.5 m_page->pb_more_contrast->hide(); diff --git a/chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cc b/chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cc index 928baded..d479b27d 100644 --- a/chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cc +++ b/chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cc @@ -307,7 +307,7 @@ KisPerChannelConfigWidget::KisPerChannelConfigWidget(TQWidget * parent, KisPaint int height; m_page = new WdgPerChannel(this); TQHBoxLayout * l = new TQHBoxLayout(this); - Q_CHECK_PTR(l); + TQ_CHECK_PTR(l); m_dev = dev; m_curves = new TQSortedList<TQPair<double,double> >[m_dev->colorSpace()->nColorChannels()]; diff --git a/chalk/plugins/filters/convolutionfilters/kis_custom_convolution_filter.cc b/chalk/plugins/filters/convolutionfilters/kis_custom_convolution_filter.cc index 39da5b18..dc73f197 100644 --- a/chalk/plugins/filters/convolutionfilters/kis_custom_convolution_filter.cc +++ b/chalk/plugins/filters/convolutionfilters/kis_custom_convolution_filter.cc @@ -33,7 +33,7 @@ KisFilterConfigWidget * KisCustomConvolutionFilter::createConfigurationWidget(TQWidget* parent, KisPaintDeviceSP) { KisCustomConvolutionFilterConfigurationWidget* ccfcw = new KisCustomConvolutionFilterConfigurationWidget(this,parent, "custom convolution config widget"); - Q_CHECK_PTR(ccfcw); + TQ_CHECK_PTR(ccfcw); return ccfcw; } diff --git a/chalk/plugins/filters/convolutionfilters/kis_custom_convolution_filter_configuration_widget.cc b/chalk/plugins/filters/convolutionfilters/kis_custom_convolution_filter_configuration_widget.cc index 2c1c87d9..2aa09219 100644 --- a/chalk/plugins/filters/convolutionfilters/kis_custom_convolution_filter_configuration_widget.cc +++ b/chalk/plugins/filters/convolutionfilters/kis_custom_convolution_filter_configuration_widget.cc @@ -38,19 +38,19 @@ KisCustomConvolutionFilterConfigurationWidget::KisCustomConvolutionFilterConfigu : KisFilterConfigWidget ( parent, name ) { TQGridLayout *widgetLayout = new TQGridLayout(this, 2, 1); - Q_CHECK_PTR(widgetLayout); + TQ_CHECK_PTR(widgetLayout); // TQPushButton *bnRefresh = new TQPushButton(i18n("Refresh Preview"), this, "bnrefresh"); -// Q_CHECK_PTR(bnRefresh); +// TQ_CHECK_PTR(bnRefresh); // TQSpacerItem *spacer = new TQSpacerItem(100, 30, TQSizePolicy::Expanding, TQSizePolicy::Minimum); -// Q_CHECK_PTR(spacer); +// TQ_CHECK_PTR(spacer); // widgetLayout->addWidget(bnRefresh, 0, 0); // widgetLayout->addItem(spacer, 0, 1); m_ccfcws = new KisCustomConvolutionFilterConfigurationBaseWidget((TQWidget*)this); - Q_CHECK_PTR(m_ccfcws); + TQ_CHECK_PTR(m_ccfcws); widgetLayout->addMultiCellWidget(m_ccfcws, 1, 1, 0, 1); diff --git a/chalk/plugins/filters/embossfilter/kis_emboss_filter.cc b/chalk/plugins/filters/embossfilter/kis_emboss_filter.cc index 6e69761b..8619d896 100644 --- a/chalk/plugins/filters/embossfilter/kis_emboss_filter.cc +++ b/chalk/plugins/filters/embossfilter/kis_emboss_filter.cc @@ -163,7 +163,7 @@ KisFilterConfigWidget * KisEmbossFilter::createConfigurationWidget(TQWidget* par vKisIntegerWidgetParam param; param.push_back( KisIntegerWidgetParam( 10, 300, 30, i18n("Depth"), "depth" ) ); KisFilterConfigWidget * w = new KisMultiIntegerFilterWidget(parent, id().id().ascii(), id().id().ascii(), param ); - Q_CHECK_PTR(w); + TQ_CHECK_PTR(w); return w; } diff --git a/chalk/plugins/filters/levelfilter/kis_level_filter.cc b/chalk/plugins/filters/levelfilter/kis_level_filter.cc index b7c1cb00..43b8f9e6 100644 --- a/chalk/plugins/filters/levelfilter/kis_level_filter.cc +++ b/chalk/plugins/filters/levelfilter/kis_level_filter.cc @@ -222,7 +222,7 @@ KisLevelConfigWidget::KisLevelConfigWidget(TQWidget * parent, KisPaintDeviceSP d m_page->outwhitespin->setValue(255); TQHBoxLayout * l = new TQHBoxLayout(this); - Q_CHECK_PTR(l); + TQ_CHECK_PTR(l); l->addWidget(m_page, 0, TQt::AlignTop); connect( m_page->blackspin, TQT_SIGNAL(valueChanged(int)), TQT_SIGNAL(sigPleaseUpdatePreview())); diff --git a/chalk/plugins/filters/sobelfilter/kis_sobel_filter.cc b/chalk/plugins/filters/sobelfilter/kis_sobel_filter.cc index 52424ce2..db842ca2 100644 --- a/chalk/plugins/filters/sobelfilter/kis_sobel_filter.cc +++ b/chalk/plugins/filters/sobelfilter/kis_sobel_filter.cc @@ -117,13 +117,13 @@ void KisSobelFilter::sobel(const TQRect & rc, KisPaintDeviceSP src, KisPaintDevi /* allocate row buffers */ TQ_UINT8* prevRow = new TQ_UINT8[ (width + 2) * pixelSize]; - Q_CHECK_PTR(prevRow); + TQ_CHECK_PTR(prevRow); TQ_UINT8* curRow = new TQ_UINT8[ (width + 2) * pixelSize]; - Q_CHECK_PTR(curRow); + TQ_CHECK_PTR(curRow); TQ_UINT8* nextRow = new TQ_UINT8[ (width + 2) * pixelSize]; - Q_CHECK_PTR(nextRow); + TQ_CHECK_PTR(nextRow); TQ_UINT8* dest = new TQ_UINT8[ width * pixelSize]; - Q_CHECK_PTR(dest); + TQ_CHECK_PTR(dest); TQ_UINT8* pr = prevRow + pixelSize; TQ_UINT8* cr = curRow + pixelSize; diff --git a/chalk/plugins/paintops/defaultpaintops/kis_airbrushop.cc b/chalk/plugins/paintops/defaultpaintops/kis_airbrushop.cc index 7338ef54..2a8750f3 100644 --- a/chalk/plugins/paintops/defaultpaintops/kis_airbrushop.cc +++ b/chalk/plugins/paintops/defaultpaintops/kis_airbrushop.cc @@ -38,7 +38,7 @@ KisPaintOp * KisAirbrushOpFactory::createOp(const KisPaintOpSettings */*settings*/, KisPainter * painter) { KisPaintOp * op = new KisAirbrushOp(painter); - Q_CHECK_PTR(op); + TQ_CHECK_PTR(op); return op; } diff --git a/chalk/plugins/paintops/defaultpaintops/kis_brushop.cc b/chalk/plugins/paintops/defaultpaintops/kis_brushop.cc index 20850018..285b4d6f 100644 --- a/chalk/plugins/paintops/defaultpaintops/kis_brushop.cc +++ b/chalk/plugins/paintops/defaultpaintops/kis_brushop.cc @@ -51,7 +51,7 @@ KisPaintOp * KisBrushOpFactory::createOp(const KisPaintOpSettings *settings, Kis Q_ASSERT(settings == 0 || brushopSettings != 0); KisPaintOp * op = new KisBrushOp(brushopSettings, painter); - Q_CHECK_PTR(op); + TQ_CHECK_PTR(op); return op; } diff --git a/chalk/plugins/paintops/defaultpaintops/kis_convolveop.cc b/chalk/plugins/paintops/defaultpaintops/kis_convolveop.cc index 72bf9e66..708d792c 100644 --- a/chalk/plugins/paintops/defaultpaintops/kis_convolveop.cc +++ b/chalk/plugins/paintops/defaultpaintops/kis_convolveop.cc @@ -37,7 +37,7 @@ KisPaintOp * KisConvolveOpFactory::createOp(const KisPaintOpSettings */*settings*/, KisPainter * painter) { KisPaintOp * op = new KisConvolveOp(painter); - Q_CHECK_PTR(op); + TQ_CHECK_PTR(op); return op; } diff --git a/chalk/plugins/paintops/defaultpaintops/kis_duplicateop.cc b/chalk/plugins/paintops/defaultpaintops/kis_duplicateop.cc index 3294d846..556a7775 100644 --- a/chalk/plugins/paintops/defaultpaintops/kis_duplicateop.cc +++ b/chalk/plugins/paintops/defaultpaintops/kis_duplicateop.cc @@ -43,7 +43,7 @@ KisPaintOp * KisDuplicateOpFactory::createOp(const KisPaintOpSettings */*settings*/, KisPainter * painter) { KisPaintOp * op = new KisDuplicateOp(painter); - Q_CHECK_PTR(op); + TQ_CHECK_PTR(op); return op; } @@ -149,7 +149,7 @@ void KisDuplicateOp::paintAt(const KisPoint &pos, const KisPaintInformation& inf m_srcdev = new KisPaintDevice(device->colorSpace(), "duplicate source dev"); m_target = new KisPaintDevice(device->colorSpace(), "duplicate target dev"); } - Q_CHECK_PTR(m_srcdev); + TQ_CHECK_PTR(m_srcdev); // Perspective correction ? KisPainter copyPainter(m_srcdev); diff --git a/chalk/plugins/paintops/defaultpaintops/kis_eraseop.cc b/chalk/plugins/paintops/defaultpaintops/kis_eraseop.cc index 0bfc6fd2..55e3b7b8 100644 --- a/chalk/plugins/paintops/defaultpaintops/kis_eraseop.cc +++ b/chalk/plugins/paintops/defaultpaintops/kis_eraseop.cc @@ -39,7 +39,7 @@ KisPaintOp * KisEraseOpFactory::createOp(const KisPaintOpSettings */*settings*/, KisPainter * painter) { KisPaintOp * op = new KisEraseOp(painter); - Q_CHECK_PTR(op); + TQ_CHECK_PTR(op); return op; } @@ -97,7 +97,7 @@ void KisEraseOp::paintAt(const KisPoint &pos, const KisPaintInformation& info) KisAlphaMaskSP mask = brush->mask(info, xFraction, yFraction); KisPaintDeviceSP dab = new KisPaintDevice(device->colorSpace(), "erase op dab"); - Q_CHECK_PTR(dab); + TQ_CHECK_PTR(dab); TQ_INT32 maskWidth = mask->width(); TQ_INT32 maskHeight = mask->height(); diff --git a/chalk/plugins/paintops/defaultpaintops/kis_penop.cc b/chalk/plugins/paintops/defaultpaintops/kis_penop.cc index 41c2607e..40e2b2e6 100644 --- a/chalk/plugins/paintops/defaultpaintops/kis_penop.cc +++ b/chalk/plugins/paintops/defaultpaintops/kis_penop.cc @@ -43,7 +43,7 @@ KisPaintOp * KisPenOpFactory::createOp(const KisPaintOpSettings */*settings*/, KisPainter * painter) { KisPaintOp * op = new KisPenOp(painter); - Q_CHECK_PTR(op); + TQ_CHECK_PTR(op); return op; } diff --git a/chalk/plugins/paintops/defaultpaintops/kis_smudgeop.cc b/chalk/plugins/paintops/defaultpaintops/kis_smudgeop.cc index 2ab83813..f15077b3 100644 --- a/chalk/plugins/paintops/defaultpaintops/kis_smudgeop.cc +++ b/chalk/plugins/paintops/defaultpaintops/kis_smudgeop.cc @@ -52,7 +52,7 @@ KisPaintOp * KisSmudgeOpFactory::createOp(const KisPaintOpSettings *settings, Ki Q_ASSERT(settings == 0 || brushopSettings != 0); KisPaintOp * op = new KisSmudgeOp(brushopSettings, painter); - Q_CHECK_PTR(op); + TQ_CHECK_PTR(op); return op; } 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); } diff --git a/chalk/plugins/viewplugins/colorrange/colorrange.cc b/chalk/plugins/viewplugins/colorrange/colorrange.cc index 9a2ab407..e1d91bf4 100644 --- a/chalk/plugins/viewplugins/colorrange/colorrange.cc +++ b/chalk/plugins/viewplugins/colorrange/colorrange.cc @@ -73,7 +73,7 @@ void ColorRange::slotActivated() if (!layer) return; DlgColorRange * dlgColorRange = new DlgColorRange(m_view, layer, m_view, "ColorRange"); - Q_CHECK_PTR(dlgColorRange); + TQ_CHECK_PTR(dlgColorRange); dlgColorRange->exec(); } diff --git a/chalk/plugins/viewplugins/colorrange/dlg_colorrange.cc b/chalk/plugins/viewplugins/colorrange/dlg_colorrange.cc index 552e4c40..b0a9851e 100644 --- a/chalk/plugins/viewplugins/colorrange/dlg_colorrange.cc +++ b/chalk/plugins/viewplugins/colorrange/dlg_colorrange.cc @@ -183,7 +183,7 @@ DlgColorRange::DlgColorRange( KisView * view, KisPaintDeviceSP dev, TQWidget * m_subject = view->canvasSubject(); m_page = new WdgColorRange(this, "color_range"); - Q_CHECK_PTR(m_page); + TQ_CHECK_PTR(m_page); setCaption(i18n("Color Range")); setMainWidget(m_page); diff --git a/chalk/plugins/viewplugins/colorspaceconversion/colorspaceconversion.cc b/chalk/plugins/viewplugins/colorspaceconversion/colorspaceconversion.cc index 00c0c820..44beef28 100644 --- a/chalk/plugins/viewplugins/colorspaceconversion/colorspaceconversion.cc +++ b/chalk/plugins/viewplugins/colorspaceconversion/colorspaceconversion.cc @@ -99,7 +99,7 @@ void ColorSpaceConversion::slotImgColorSpaceConversion() } DlgColorSpaceConversion * dlgColorSpaceConversion = new DlgColorSpaceConversion(m_view, "ColorSpaceConversion"); - Q_CHECK_PTR(dlgColorSpaceConversion); + TQ_CHECK_PTR(dlgColorSpaceConversion); dlgColorSpaceConversion->setCaption(i18n("Convert All Layers From ") + image->colorSpace()->id().name()); @@ -136,7 +136,7 @@ void ColorSpaceConversion::slotLayerColorSpaceConversion() } DlgColorSpaceConversion * dlgColorSpaceConversion = new DlgColorSpaceConversion(m_view, "ColorSpaceConversion"); - Q_CHECK_PTR(dlgColorSpaceConversion); + TQ_CHECK_PTR(dlgColorSpaceConversion); dlgColorSpaceConversion->setCaption(i18n("Convert Current Layer From") + dev->colorSpace()->id().name()); diff --git a/chalk/plugins/viewplugins/colorspaceconversion/dlg_colorspaceconversion.cc b/chalk/plugins/viewplugins/colorspaceconversion/dlg_colorspaceconversion.cc index 31163eb7..54ede8b9 100644 --- a/chalk/plugins/viewplugins/colorspaceconversion/dlg_colorspaceconversion.cc +++ b/chalk/plugins/viewplugins/colorspaceconversion/dlg_colorspaceconversion.cc @@ -44,7 +44,7 @@ DlgColorSpaceConversion::DlgColorSpaceConversion( TQWidget * parent, : super (parent, name, true, i18n("Image Size"), Ok | Cancel, Ok) { m_page = new WdgConvertColorSpace(this, "colorspace_conversion"); - Q_CHECK_PTR(m_page); + TQ_CHECK_PTR(m_page); setMainWidget(m_page); resize(m_page->sizeHint()); diff --git a/chalk/plugins/viewplugins/dropshadow/dlg_dropshadow.cc b/chalk/plugins/viewplugins/dropshadow/dlg_dropshadow.cc index ddb47f47..023a606a 100644 --- a/chalk/plugins/viewplugins/dropshadow/dlg_dropshadow.cc +++ b/chalk/plugins/viewplugins/dropshadow/dlg_dropshadow.cc @@ -44,7 +44,7 @@ DlgDropshadow::DlgDropshadow( const TQString & /*imageCS*/, : super (parent, name, true, i18n("Drop Shadow"), Ok | Cancel, Ok) { m_page = new WdgDropshadow(this, "dropshadow"); - Q_CHECK_PTR(m_page); + TQ_CHECK_PTR(m_page); setMainWidget(m_page); resize(m_page->sizeHint()); diff --git a/chalk/plugins/viewplugins/dropshadow/kis_dropshadow_plugin.cc b/chalk/plugins/viewplugins/dropshadow/kis_dropshadow_plugin.cc index f9b5ad26..e10b2243 100644 --- a/chalk/plugins/viewplugins/dropshadow/kis_dropshadow_plugin.cc +++ b/chalk/plugins/viewplugins/dropshadow/kis_dropshadow_plugin.cc @@ -67,7 +67,7 @@ void KisDropshadowPlugin::slotDropshadow() DlgDropshadow * dlgDropshadow = new DlgDropshadow(dev->colorSpace()->id().name(), image->colorSpace()->id().name(), m_view, "Dropshadow"); - Q_CHECK_PTR(dlgDropshadow); + TQ_CHECK_PTR(dlgDropshadow); dlgDropshadow->setCaption(i18n("Drop Shadow")); diff --git a/chalk/plugins/viewplugins/histogram/dlg_histogram.cc b/chalk/plugins/viewplugins/histogram/dlg_histogram.cc index 0ceb3dd4..12e1fe65 100644 --- a/chalk/plugins/viewplugins/histogram/dlg_histogram.cc +++ b/chalk/plugins/viewplugins/histogram/dlg_histogram.cc @@ -43,7 +43,7 @@ DlgHistogram::DlgHistogram( TQWidget * parent, const char * name) : super (parent, name, true, i18n("Histogram"), Ok | Cancel, Ok) { m_page = new KisHistogramWidget(this, "histogram"); - Q_CHECK_PTR(m_page); + TQ_CHECK_PTR(m_page); setCaption(i18n("Histogram")); setMainWidget(m_page); diff --git a/chalk/plugins/viewplugins/histogram/histogram.cc b/chalk/plugins/viewplugins/histogram/histogram.cc index 82d31ec0..3f9c0e5a 100644 --- a/chalk/plugins/viewplugins/histogram/histogram.cc +++ b/chalk/plugins/viewplugins/histogram/histogram.cc @@ -89,7 +89,7 @@ void Histogram::slotLayersChanged() { void Histogram::slotActivated() { DlgHistogram * dlgHistogram = new DlgHistogram(m_view, "Histogram"); - Q_CHECK_PTR(dlgHistogram); + TQ_CHECK_PTR(dlgHistogram); KisPaintDeviceSP dev = m_view->canvasSubject()->currentImg()->activeDevice(); if (dev) diff --git a/chalk/plugins/viewplugins/imagesize/dlg_imagesize.cc b/chalk/plugins/viewplugins/imagesize/dlg_imagesize.cc index 6ee07f30..0d9b3218 100644 --- a/chalk/plugins/viewplugins/imagesize/dlg_imagesize.cc +++ b/chalk/plugins/viewplugins/imagesize/dlg_imagesize.cc @@ -52,7 +52,7 @@ DlgImageSize::DlgImageSize( TQWidget * parent, m_lock = false; m_page = new WdgImageSize(this, "image_size"); - Q_CHECK_PTR(m_page); + TQ_CHECK_PTR(m_page); m_page->cmbFilterType->setIDList(KisFilterStrategyRegistry::instance()->listKeys()); m_page->cmbFilterType->setCurrentText("Mitchell"); diff --git a/chalk/plugins/viewplugins/imagesize/dlg_layersize.cc b/chalk/plugins/viewplugins/imagesize/dlg_layersize.cc index d084060b..620ee85d 100644 --- a/chalk/plugins/viewplugins/imagesize/dlg_layersize.cc +++ b/chalk/plugins/viewplugins/imagesize/dlg_layersize.cc @@ -53,7 +53,7 @@ DlgLayerSize::DlgLayerSize( TQWidget * parent, m_lock = false; m_page = new WdgLayerSize(this, "layer_size"); - Q_CHECK_PTR(m_page); + TQ_CHECK_PTR(m_page); m_page->cmbFilterType->setIDList(KisFilterStrategyRegistry::instance()->listKeys()); m_page->cmbFilterType->setCurrentText("Mitchell"); diff --git a/chalk/plugins/viewplugins/imagesize/imagesize.cc b/chalk/plugins/viewplugins/imagesize/imagesize.cc index 76ac2328..9943b7d8 100644 --- a/chalk/plugins/viewplugins/imagesize/imagesize.cc +++ b/chalk/plugins/viewplugins/imagesize/imagesize.cc @@ -73,7 +73,7 @@ ImageSize::ImageSize(TQObject *parent, const char *name, const TQStringList &) m_view = (KisView*) parent; // Selection manager takes ownership? KAction * a = new KAction(i18n("&Scale Selection..."), 0, 0, this, TQT_SLOT(slotSelectionScale()), actionCollection(), "selectionscale"); - Q_CHECK_PTR(a); + TQ_CHECK_PTR(a); m_view ->canvasSubject()-> selectionManager()->addSelectionAction(a); } } @@ -90,7 +90,7 @@ void ImageSize::slotImageSize() if (!image) return; DlgImageSize * dlgImageSize = new DlgImageSize(m_view, "ImageSize"); - Q_CHECK_PTR(dlgImageSize); + TQ_CHECK_PTR(dlgImageSize); dlgImageSize->setCaption(i18n("Image Size")); @@ -123,7 +123,7 @@ void ImageSize::slotLayerSize() if (!image) return; DlgLayerSize * dlgLayerSize = new DlgLayerSize(m_view, "LayerSize"); - Q_CHECK_PTR(dlgLayerSize); + TQ_CHECK_PTR(dlgLayerSize); dlgLayerSize->setCaption(i18n("Layer Size")); @@ -160,7 +160,7 @@ void ImageSize::slotSelectionScale() DlgLayerSize * dlgLayerSize = new DlgLayerSize(m_view, "SelectionScale"); - Q_CHECK_PTR(dlgLayerSize); + TQ_CHECK_PTR(dlgLayerSize); dlgLayerSize->setCaption(i18n("Scale Selection")); diff --git a/chalk/plugins/viewplugins/modify_selection/dlg_border_selection.cc b/chalk/plugins/viewplugins/modify_selection/dlg_border_selection.cc index 300161a8..ea51ccf1 100644 --- a/chalk/plugins/viewplugins/modify_selection/dlg_border_selection.cc +++ b/chalk/plugins/viewplugins/modify_selection/dlg_border_selection.cc @@ -42,7 +42,7 @@ using namespace std; DlgBorderSelection::DlgBorderSelection( TQWidget * parent, const char * name) : super (parent, name, true, i18n("Border Selection"), Ok | Cancel, Ok) { m_page = new WdgBorderSelection(this, "border_selection"); - Q_CHECK_PTR(m_page); + TQ_CHECK_PTR(m_page); setMainWidget(m_page); resize(m_page->sizeHint()); diff --git a/chalk/plugins/viewplugins/modify_selection/dlg_grow_selection.cc b/chalk/plugins/viewplugins/modify_selection/dlg_grow_selection.cc index 566dabc4..684a1e9a 100644 --- a/chalk/plugins/viewplugins/modify_selection/dlg_grow_selection.cc +++ b/chalk/plugins/viewplugins/modify_selection/dlg_grow_selection.cc @@ -42,7 +42,7 @@ using namespace std; DlgGrowSelection::DlgGrowSelection( TQWidget * parent, const char * name) : super (parent, name, true, i18n("Grow Selection"), Ok | Cancel, Ok) { m_page = new WdgGrowSelection(this, "grow_selection"); - Q_CHECK_PTR(m_page); + TQ_CHECK_PTR(m_page); setMainWidget(m_page); resize(m_page->sizeHint()); diff --git a/chalk/plugins/viewplugins/modify_selection/dlg_shrink_selection.cc b/chalk/plugins/viewplugins/modify_selection/dlg_shrink_selection.cc index 5b4c8747..ebd33026 100644 --- a/chalk/plugins/viewplugins/modify_selection/dlg_shrink_selection.cc +++ b/chalk/plugins/viewplugins/modify_selection/dlg_shrink_selection.cc @@ -42,7 +42,7 @@ using namespace std; DlgShrinkSelection::DlgShrinkSelection( TQWidget * parent, const char * name) : super (parent, name, true, i18n("Shrink Selection"), Ok | Cancel, Ok) { m_page = new WdgShrinkSelection(this, "shrink_selection"); - Q_CHECK_PTR(m_page); + TQ_CHECK_PTR(m_page); setMainWidget(m_page); resize(m_page->sizeHint()); diff --git a/chalk/plugins/viewplugins/modify_selection/modify_selection.cc b/chalk/plugins/viewplugins/modify_selection/modify_selection.cc index 46536e4f..95e3e4cf 100644 --- a/chalk/plugins/viewplugins/modify_selection/modify_selection.cc +++ b/chalk/plugins/viewplugins/modify_selection/modify_selection.cc @@ -70,9 +70,9 @@ ModifySelection::ModifySelection(TQObject *parent, const char *name, const TQStr KAction* b = new KAction(i18n("Shrink Selection..."), 0, 0, this, TQT_SLOT(slotShrinkSelection()), actionCollection(), "shrinkselection"); KAction* c = new KAction(i18n("Border Selection..."), 0, 0, this, TQT_SLOT(slotBorderSelection()), actionCollection(), "borderselection"); - Q_CHECK_PTR(a); - Q_CHECK_PTR(b); - Q_CHECK_PTR(c); + TQ_CHECK_PTR(a); + TQ_CHECK_PTR(b); + TQ_CHECK_PTR(c); m_view ->canvasSubject()-> selectionManager()->addSelectionAction(a); m_view ->canvasSubject()-> selectionManager()->addSelectionAction(b); @@ -92,7 +92,7 @@ void ModifySelection::slotGrowSelection() if (!image) return; DlgGrowSelection * dlgGrowSelection = new DlgGrowSelection(m_view, "GrowSelection"); - Q_CHECK_PTR(dlgGrowSelection); + TQ_CHECK_PTR(dlgGrowSelection); dlgGrowSelection->setCaption(i18n("Grow Selection")); @@ -115,7 +115,7 @@ void ModifySelection::slotShrinkSelection() if (!image) return; DlgShrinkSelection * dlgShrinkSelection = new DlgShrinkSelection(m_view, "ShrinkSelection"); - Q_CHECK_PTR(dlgShrinkSelection); + TQ_CHECK_PTR(dlgShrinkSelection); dlgShrinkSelection->setCaption(i18n("Shrink Selection")); @@ -139,7 +139,7 @@ void ModifySelection::slotBorderSelection() if (!image) return; DlgBorderSelection * dlgBorderSelection = new DlgBorderSelection(m_view, "BorderSelection"); - Q_CHECK_PTR(dlgBorderSelection); + TQ_CHECK_PTR(dlgBorderSelection); dlgBorderSelection->setCaption(i18n("Border Selection")); diff --git a/chalk/plugins/viewplugins/performancetest/dlg_perftest.cc b/chalk/plugins/viewplugins/performancetest/dlg_perftest.cc index e4a3386d..b94bdedf 100644 --- a/chalk/plugins/viewplugins/performancetest/dlg_perftest.cc +++ b/chalk/plugins/viewplugins/performancetest/dlg_perftest.cc @@ -46,7 +46,7 @@ DlgPerfTest::DlgPerfTest( TQWidget * parent, m_lock = false; m_page = new WdgPerfTest(this, "perf_test"); - Q_CHECK_PTR(m_page); + TQ_CHECK_PTR(m_page); setMainWidget(m_page); resize(m_page->sizeHint()); diff --git a/chalk/plugins/viewplugins/performancetest/perftest.cc b/chalk/plugins/viewplugins/performancetest/perftest.cc index b88dac9d..2c0ff58e 100644 --- a/chalk/plugins/viewplugins/performancetest/perftest.cc +++ b/chalk/plugins/viewplugins/performancetest/perftest.cc @@ -104,7 +104,7 @@ void PerfTest::slotPerfTest() if (!image) return; DlgPerfTest * dlgPerfTest = new DlgPerfTest(m_view, "PerfTest"); - Q_CHECK_PTR(dlgPerfTest); + TQ_CHECK_PTR(dlgPerfTest); dlgPerfTest->setCaption(i18n("Performance Test")); @@ -217,11 +217,11 @@ void PerfTest::slotPerfTest() kdDebug() << s << "\n"; } KDialogBase * d = new KDialogBase(m_view, "", true, "", KDialogBase::Ok); - Q_CHECK_PTR(d); + TQ_CHECK_PTR(d); d->setCaption("Performance test results"); TQTextEdit * e = new TQTextEdit(d); - Q_CHECK_PTR(e); + TQ_CHECK_PTR(e); d->setMainWidget(e); e->setText(report); e->setMinimumWidth(600); @@ -279,7 +279,7 @@ TQString PerfTest::doBlit(const KisCompositeOp& op, // Small KisPaintDeviceSP small = new KisPaintDevice(KisMetaRegistry::instance()->csRegistry()->getColorSpace(cspace,""), "small blit"); - Q_CHECK_PTR(small); + TQ_CHECK_PTR(small); KisFillPainter pf(small.data()) ; pf.fillRect(0, 0, 32, 32, KisColor(TQt::black, KisMetaRegistry::instance()->csRegistry()->getRGB8())); @@ -302,7 +302,7 @@ TQString PerfTest::doBlit(const KisCompositeOp& op, // ------------------------------------------------------------------------------ // Medium KisPaintDeviceSP medium = new KisPaintDevice(KisMetaRegistry::instance()->csRegistry()->getColorSpace(cspace,""), "medium blit"); - Q_CHECK_PTR(medium); + TQ_CHECK_PTR(medium); pf.begin(medium.data()) ; pf.fillRect(0, 0, 64 * 3, 64 * 3, KisColor(TQt::black, KisMetaRegistry::instance()->csRegistry()->getRGB8())); @@ -325,7 +325,7 @@ TQString PerfTest::doBlit(const KisCompositeOp& op, // ------------------------------------------------------------------------------ // Big KisPaintDeviceSP big = new KisPaintDevice(KisMetaRegistry::instance()->csRegistry()->getColorSpace(cspace,""), "big blit"); - Q_CHECK_PTR(big); + TQ_CHECK_PTR(big); pf.begin(big.data()) ; pf.fillRect(0, 0, 800, 800, KisColor(TQt::black, KisMetaRegistry::instance()->csRegistry()->getRGB8())); @@ -349,7 +349,7 @@ TQString PerfTest::doBlit(const KisCompositeOp& op, // Outside KisPaintDeviceSP outside = new KisPaintDevice(KisMetaRegistry::instance()->csRegistry()->getColorSpace(cspace,""), "outside blit"); - Q_CHECK_PTR(outside); + TQ_CHECK_PTR(outside); pf.begin(outside.data()) ; pf.fillRect(0, 0, 500, 500, KisColor(TQt::black, KisMetaRegistry::instance()->csRegistry()->getRGB8())); pf.end(); @@ -371,7 +371,7 @@ TQString PerfTest::doBlit(const KisCompositeOp& op, // Small with varied source opacity KisPaintDeviceSP small_with_alpha = new KisPaintDevice(KisMetaRegistry::instance()->csRegistry()->getColorSpace(cspace,""), "small blit with alpha"); - Q_CHECK_PTR(small_with_alpha); + TQ_CHECK_PTR(small_with_alpha); pf.begin(small_with_alpha.data()) ; pf.fillRect(0, 0, 32, 32, KisColor(TQt::black, KisMetaRegistry::instance()->csRegistry()->getRGB8()), OPACITY_TRANSPARENT); @@ -499,7 +499,7 @@ TQString PerfTest::fillTest(TQ_UINT32 testCount) // p.paintEllipse(500, 1000, 100, 0, 0); p.setPaintColor(KisColor(TQt::black, KisMetaRegistry::instance()->csRegistry()->getRGB8())); KisResourceServerBase* r = KisResourceServerRegistry::instance()->get("PatternServer"); - Q_CHECK_PTR(r); + TQ_CHECK_PTR(r); p.setPattern((KisPattern*)r->resources().first()); p.setFillThreshold(15); p.setCompositeOp(COMPOSITE_OVER); @@ -704,7 +704,7 @@ TQString PerfTest::readBytesTest(TQ_UINT32 testCount) for (TQ_UINT32 i = 0; i < testCount; ++i) { TQ_UINT8 * newData = new TQ_UINT8[1000 * 1000 * l->pixelSize()]; - Q_CHECK_PTR(newData); + TQ_CHECK_PTR(newData); l->readBytes(newData, 0, 0, 1000, 1000); delete[] newData; } @@ -721,7 +721,7 @@ TQString PerfTest::readBytesTest(TQ_UINT32 testCount) for (TQ_UINT32 i = 0; i < testCount; ++i) { TQ_UINT8 * newData = new TQ_UINT8[1000 * 1000 * l->pixelSize()]; - Q_CHECK_PTR(newData); + TQ_CHECK_PTR(newData); l->readBytes(newData, 0, 0, 1000, 1000); delete[] newData; } @@ -746,7 +746,7 @@ TQString PerfTest::writeBytesTest(TQ_UINT32 testCount) TQ_UINT8 * data = new TQ_UINT8[1000 * 1000 * l->pixelSize()]; - Q_CHECK_PTR(data); + TQ_CHECK_PTR(data); l->readBytes(data, 0, 0, 1000, 1000); TQTime t; diff --git a/chalk/plugins/viewplugins/rotateimage/dlg_rotateimage.cc b/chalk/plugins/viewplugins/rotateimage/dlg_rotateimage.cc index 9440a8fe..f381b3f9 100644 --- a/chalk/plugins/viewplugins/rotateimage/dlg_rotateimage.cc +++ b/chalk/plugins/viewplugins/rotateimage/dlg_rotateimage.cc @@ -46,7 +46,7 @@ DlgRotateImage::DlgRotateImage( TQWidget * parent, m_lock = false; m_page = new WdgRotateImage(this, "rotate_image"); - Q_CHECK_PTR(m_page); + TQ_CHECK_PTR(m_page); setMainWidget(m_page); resize(m_page->sizeHint()); diff --git a/chalk/plugins/viewplugins/rotateimage/rotateimage.cc b/chalk/plugins/viewplugins/rotateimage/rotateimage.cc index 60d6f254..1903ba68 100644 --- a/chalk/plugins/viewplugins/rotateimage/rotateimage.cc +++ b/chalk/plugins/viewplugins/rotateimage/rotateimage.cc @@ -84,7 +84,7 @@ void RotateImage::slotRotateImage() if (!image) return; DlgRotateImage * dlgRotateImage = new DlgRotateImage(m_view, "RotateImage"); - Q_CHECK_PTR(dlgRotateImage); + TQ_CHECK_PTR(dlgRotateImage); dlgRotateImage->setCaption(i18n("Rotate Image")); @@ -119,7 +119,7 @@ void RotateImage::slotRotateLayer() if (!image) return; DlgRotateImage * dlgRotateImage = new DlgRotateImage(m_view, "RotateLayer"); - Q_CHECK_PTR(dlgRotateImage); + TQ_CHECK_PTR(dlgRotateImage); dlgRotateImage->setCaption(i18n("Rotate Layer")); diff --git a/chalk/plugins/viewplugins/screenshot/ksnapshot.cpp b/chalk/plugins/viewplugins/screenshot/ksnapshot.cpp index 32e825ee..eba5a622 100644 --- a/chalk/plugins/viewplugins/screenshot/ksnapshot.cpp +++ b/chalk/plugins/viewplugins/screenshot/ksnapshot.cpp @@ -62,7 +62,7 @@ KSnapshot::KSnapshot(TQWidget *parent, const char *name) : super(parent, name, false, TQString(), Ok|Cancel) { grabber = new TQWidget( 0, 0, WStyle_Customize | WX11BypassWM ); - Q_CHECK_PTR(grabber); + TQ_CHECK_PTR(grabber); grabber->move( -1000, -1000 ); grabber->installEventFilter( this ); @@ -74,7 +74,7 @@ KSnapshot::KSnapshot(TQWidget *parent, const char *name) TQVBox *vbox = makeVBoxMainWidget(); mainWidget = new KSnapshotWidget( vbox, "mainWidget" ); - Q_CHECK_PTR(mainWidget); + TQ_CHECK_PTR(mainWidget); mainWidget->btnSave->hide(); mainWidget->btnPrint->hide(); @@ -100,7 +100,7 @@ KSnapshot::KSnapshot(TQWidget *parent, const char *name) connect( &grabTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( grabTimerDone() ) ); KAccel* accel = new KAccel(this); - Q_CHECK_PTR(accel); + TQ_CHECK_PTR(accel); accel->insert(KStdAccel::Print, TQT_TQOBJECT(this), TQT_SLOT(slotPrint())); accel->insert(KStdAccel::New, TQT_TQOBJECT(this), TQT_SLOT(slotGrab())); @@ -169,7 +169,7 @@ void KSnapshot::slotCopy() void KSnapshot::slotDragSnapshot() { TQDragObject *drobj = new TQImageDrag(snapshot.convertToImage(), this); - Q_CHECK_PTR(drobj); + TQ_CHECK_PTR(drobj); drobj->setPixmap(mainWidget->preview()); drobj->dragCopy(); } @@ -180,7 +180,7 @@ void KSnapshot::slotGrab() if ( mainWidget->mode() == Region ) { rgnGrab = new RegionGrabber(); - Q_CHECK_PTR(rgnGrab); + TQ_CHECK_PTR(rgnGrab); connect( rgnGrab, TQT_SIGNAL( regionGrabbed( const TQPixmap & ) ), TQT_SLOT( slotRegionGrabbed( const TQPixmap & ) ) ); } diff --git a/chalk/plugins/viewplugins/screenshot/main.cpp b/chalk/plugins/viewplugins/screenshot/main.cpp index 70f61349..b943acfb 100644 --- a/chalk/plugins/viewplugins/screenshot/main.cpp +++ b/chalk/plugins/viewplugins/screenshot/main.cpp @@ -27,7 +27,7 @@ int main(int argc, char **argv) // Create top level window KSnapshot *toplevel= new KSnapshot(); - Q_CHECK_PTR(toplevel); + TQ_CHECK_PTR(toplevel); app.dcopClient()->setDefaultObject( toplevel->objId() ); toplevel->setCaption( app.makeStdCaption("") ); toplevel->setIcon(SmallIcon("tool_screenshot")); diff --git a/chalk/plugins/viewplugins/screenshot/regiongrabber.cpp b/chalk/plugins/viewplugins/screenshot/regiongrabber.cpp index c3675590..2c80832b 100644 --- a/chalk/plugins/viewplugins/screenshot/regiongrabber.cpp +++ b/chalk/plugins/viewplugins/screenshot/regiongrabber.cpp @@ -74,7 +74,7 @@ RegionGrabber::RegionGrabber() sizeTip = new SizeTip( ( TQWidget * )0L ); tipTimer = new TQTimer( this ); - Q_CHECK_PTR(tipTimer); + TQ_CHECK_PTR(tipTimer); connect( tipTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( updateSizeTip() ) ); TQTimer::singleShot( 200, this, TQT_SLOT( initGrabber() ) ); diff --git a/chalk/plugins/viewplugins/screenshot/screenshot.cpp b/chalk/plugins/viewplugins/screenshot/screenshot.cpp index 4af58e3d..57b28cd4 100644 --- a/chalk/plugins/viewplugins/screenshot/screenshot.cpp +++ b/chalk/plugins/viewplugins/screenshot/screenshot.cpp @@ -50,7 +50,7 @@ Screenshot::Screenshot(TQObject *parent, const char *name, const TQStringList &) KImageIO::registerFormats(); snapshot = new KSnapshot(); - Q_CHECK_PTR(snapshot); + TQ_CHECK_PTR(snapshot); connect( snapshot, TQT_SIGNAL( screenGrabbed() ), TQT_SLOT( slotScreenGrabbed() ) ); (void) new KAction(i18n("&Screenshot..."), SmallIcon("tool_screenshot"), 0, this, TQT_SLOT(slotScreenshot()), actionCollection(), "screenshot"); diff --git a/chalk/plugins/viewplugins/scripting/chalkcore/krs_paint_layer.cpp b/chalk/plugins/viewplugins/scripting/chalkcore/krs_paint_layer.cpp index 9f27adc6..a3ce4dd6 100644 --- a/chalk/plugins/viewplugins/scripting/chalkcore/krs_paint_layer.cpp +++ b/chalk/plugins/viewplugins/scripting/chalkcore/krs_paint_layer.cpp @@ -148,7 +148,7 @@ Kross::Api::Object::Ptr PaintLayer::beginPainting(Kross::Api::List::Ptr args) delete m_cmd; } m_cmd = new KisTransaction(name, paintLayer()->paintDevice()); - Q_CHECK_PTR(m_cmd); + TQ_CHECK_PTR(m_cmd); return 0; } diff --git a/chalk/plugins/viewplugins/separate_channels/dlg_separate.cc b/chalk/plugins/viewplugins/separate_channels/dlg_separate.cc index 3da5db51..d1807384 100644 --- a/chalk/plugins/viewplugins/separate_channels/dlg_separate.cc +++ b/chalk/plugins/viewplugins/separate_channels/dlg_separate.cc @@ -41,7 +41,7 @@ DlgSeparate::DlgSeparate( const TQString & imageCS, m_layerCS(layerCS) { m_page = new WdgSeparations(this, "separate_image"); - Q_CHECK_PTR(m_page); + TQ_CHECK_PTR(m_page); setMainWidget(m_page); resize(m_page->sizeHint()); diff --git a/chalk/plugins/viewplugins/separate_channels/kis_separate_channels_plugin.cc b/chalk/plugins/viewplugins/separate_channels/kis_separate_channels_plugin.cc index f56b40a2..6c0aac8f 100644 --- a/chalk/plugins/viewplugins/separate_channels/kis_separate_channels_plugin.cc +++ b/chalk/plugins/viewplugins/separate_channels/kis_separate_channels_plugin.cc @@ -68,7 +68,7 @@ void KisSeparateChannelsPlugin::slotSeparate() DlgSeparate * dlgSeparate = new DlgSeparate(dev->colorSpace()->id().name(), image->colorSpace()->id().name(), m_view, "Separate"); - Q_CHECK_PTR(dlgSeparate); + TQ_CHECK_PTR(dlgSeparate); dlgSeparate->setCaption(i18n("Separate Image")); diff --git a/chalk/plugins/viewplugins/shearimage/dlg_shearimage.cc b/chalk/plugins/viewplugins/shearimage/dlg_shearimage.cc index ea387c45..a2cc7773 100644 --- a/chalk/plugins/viewplugins/shearimage/dlg_shearimage.cc +++ b/chalk/plugins/viewplugins/shearimage/dlg_shearimage.cc @@ -47,7 +47,7 @@ DlgShearImage::DlgShearImage( TQWidget * parent, m_page = new WdgShearImage(this, "shear_image"); m_page->layout()->setMargin(0); - Q_CHECK_PTR(m_page); + TQ_CHECK_PTR(m_page); setMainWidget(m_page); resize(m_page->sizeHint()); diff --git a/chalk/plugins/viewplugins/shearimage/shearimage.cc b/chalk/plugins/viewplugins/shearimage/shearimage.cc index 7976c266..48a6e774 100644 --- a/chalk/plugins/viewplugins/shearimage/shearimage.cc +++ b/chalk/plugins/viewplugins/shearimage/shearimage.cc @@ -78,7 +78,7 @@ void ShearImage::slotShearImage() if (!image) return; DlgShearImage * dlgShearImage = new DlgShearImage(m_view, "ShearImage"); - Q_CHECK_PTR(dlgShearImage); + TQ_CHECK_PTR(dlgShearImage); dlgShearImage->setCaption(i18n("Shear Image")); @@ -97,7 +97,7 @@ void ShearImage::slotShearLayer() if (!image) return; DlgShearImage * dlgShearImage = new DlgShearImage(m_view, "ShearLayer"); - Q_CHECK_PTR(dlgShearImage); + TQ_CHECK_PTR(dlgShearImage); dlgShearImage->setCaption(i18n("Shear Layer")); diff --git a/chalk/plugins/viewplugins/substrate/dlg_substrate.cc b/chalk/plugins/viewplugins/substrate/dlg_substrate.cc index b0a89856..781fe879 100644 --- a/chalk/plugins/viewplugins/substrate/dlg_substrate.cc +++ b/chalk/plugins/viewplugins/substrate/dlg_substrate.cc @@ -30,7 +30,7 @@ DlgSubstrate::DlgSubstrate( TQWidget * parent, { m_previewPix = TQPixmap(); m_page = new WdgSubstrate(this, "substrate"); - Q_CHECK_PTR(m_page); + TQ_CHECK_PTR(m_page); setCaption(i18n("Substrate")); setMainWidget(m_page); resize(m_page -> size()); diff --git a/chalk/plugins/viewplugins/substrate/substrate.cc b/chalk/plugins/viewplugins/substrate/substrate.cc index 2e080df7..b4c578aa 100644 --- a/chalk/plugins/viewplugins/substrate/substrate.cc +++ b/chalk/plugins/viewplugins/substrate/substrate.cc @@ -66,7 +66,7 @@ SubstratePlugin::~SubstratePlugin() void SubstratePlugin::slotSubstrateActivated() { DlgSubstrate * dlgSubstrate = new DlgSubstrate(m_view, "Substrate"); - Q_CHECK_PTR(dlgSubstrate); + TQ_CHECK_PTR(dlgSubstrate); if (dlgSubstrate -> exec() == TQDialog::Accepted) { // Retrieve changes made by dialog // Apply changes to layer (selection) diff --git a/chalk/plugins/viewplugins/variations/dlg_variations.cc b/chalk/plugins/viewplugins/variations/dlg_variations.cc index 4f189024..b329151c 100644 --- a/chalk/plugins/viewplugins/variations/dlg_variations.cc +++ b/chalk/plugins/viewplugins/variations/dlg_variations.cc @@ -30,7 +30,7 @@ DlgVariations::DlgVariations( TQWidget * parent, { m_previewPix = TQPixmap(); m_page = new WdgVariations(this, "variations"); - Q_CHECK_PTR(m_page); + TQ_CHECK_PTR(m_page); setCaption(i18n("Variations")); setMainWidget(m_page); resize(m_page -> size()); diff --git a/chalk/plugins/viewplugins/variations/variations.cc b/chalk/plugins/viewplugins/variations/variations.cc index 2c0aaa9d..53be009d 100644 --- a/chalk/plugins/viewplugins/variations/variations.cc +++ b/chalk/plugins/viewplugins/variations/variations.cc @@ -70,7 +70,7 @@ Variations::~Variations() void Variations::slotVariationsActivated() { DlgVariations * dlgVariations = new DlgVariations(m_view, "Variations"); - Q_CHECK_PTR(dlgVariations); + TQ_CHECK_PTR(dlgVariations); // Render layer to a TQIMage -- keep in mind possibility of selection // Scale TQImage |