summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/viewplugins
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/plugins/viewplugins')
-rw-r--r--chalk/plugins/viewplugins/colorrange/colorrange.cc2
-rw-r--r--chalk/plugins/viewplugins/colorrange/dlg_colorrange.cc2
-rw-r--r--chalk/plugins/viewplugins/colorspaceconversion/colorspaceconversion.cc4
-rw-r--r--chalk/plugins/viewplugins/colorspaceconversion/dlg_colorspaceconversion.cc2
-rw-r--r--chalk/plugins/viewplugins/dropshadow/dlg_dropshadow.cc2
-rw-r--r--chalk/plugins/viewplugins/dropshadow/kis_dropshadow_plugin.cc2
-rw-r--r--chalk/plugins/viewplugins/histogram/dlg_histogram.cc2
-rw-r--r--chalk/plugins/viewplugins/histogram/histogram.cc2
-rw-r--r--chalk/plugins/viewplugins/imagesize/dlg_imagesize.cc2
-rw-r--r--chalk/plugins/viewplugins/imagesize/dlg_layersize.cc2
-rw-r--r--chalk/plugins/viewplugins/imagesize/imagesize.cc8
-rw-r--r--chalk/plugins/viewplugins/modify_selection/dlg_border_selection.cc2
-rw-r--r--chalk/plugins/viewplugins/modify_selection/dlg_grow_selection.cc2
-rw-r--r--chalk/plugins/viewplugins/modify_selection/dlg_shrink_selection.cc2
-rw-r--r--chalk/plugins/viewplugins/modify_selection/modify_selection.cc12
-rw-r--r--chalk/plugins/viewplugins/performancetest/dlg_perftest.cc2
-rw-r--r--chalk/plugins/viewplugins/performancetest/perftest.cc24
-rw-r--r--chalk/plugins/viewplugins/rotateimage/dlg_rotateimage.cc2
-rw-r--r--chalk/plugins/viewplugins/rotateimage/rotateimage.cc4
-rw-r--r--chalk/plugins/viewplugins/screenshot/ksnapshot.cpp10
-rw-r--r--chalk/plugins/viewplugins/screenshot/main.cpp2
-rw-r--r--chalk/plugins/viewplugins/screenshot/regiongrabber.cpp2
-rw-r--r--chalk/plugins/viewplugins/screenshot/screenshot.cpp2
-rw-r--r--chalk/plugins/viewplugins/scripting/chalkcore/krs_paint_layer.cpp2
-rw-r--r--chalk/plugins/viewplugins/separate_channels/dlg_separate.cc2
-rw-r--r--chalk/plugins/viewplugins/separate_channels/kis_separate_channels_plugin.cc2
-rw-r--r--chalk/plugins/viewplugins/shearimage/dlg_shearimage.cc2
-rw-r--r--chalk/plugins/viewplugins/shearimage/shearimage.cc4
-rw-r--r--chalk/plugins/viewplugins/substrate/dlg_substrate.cc2
-rw-r--r--chalk/plugins/viewplugins/substrate/substrate.cc2
-rw-r--r--chalk/plugins/viewplugins/variations/dlg_variations.cc2
-rw-r--r--chalk/plugins/viewplugins/variations/variations.cc2
32 files changed, 58 insertions, 58 deletions
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