diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-14 21:10:09 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-14 21:10:09 -0600 |
commit | e6cf8874a75a09b279e13f59e78b31804b1d6f83 (patch) | |
tree | 73cf4e5dee6ce00c4fa7d32243c322631c50712c /chalk/colorspaces | |
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/colorspaces')
-rw-r--r-- | chalk/colorspaces/cmyk_u16/cmyk_u16_plugin.cc | 2 | ||||
-rw-r--r-- | chalk/colorspaces/cmyk_u8/cmyk_plugin.cc | 2 | ||||
-rw-r--r-- | chalk/colorspaces/gray_u16/gray_u16_plugin.cc | 2 | ||||
-rw-r--r-- | chalk/colorspaces/gray_u8/gray_plugin.cc | 2 | ||||
-rw-r--r-- | chalk/colorspaces/rgb_f16half/rgb_f16half_plugin.cc | 2 | ||||
-rw-r--r-- | chalk/colorspaces/wet/kis_wet_colorspace.cc | 4 | ||||
-rw-r--r-- | chalk/colorspaces/wet/kis_wetop.cc | 2 | ||||
-rw-r--r-- | chalk/colorspaces/wet/wet_plugin.cc | 4 | ||||
-rw-r--r-- | chalk/colorspaces/wet/wetphysicsfilter.cc | 12 | ||||
-rw-r--r-- | chalk/colorspaces/wetsticky/brushop/kis_wsbrushop.cc | 2 | ||||
-rw-r--r-- | chalk/colorspaces/wetsticky/kis_ws_engine_filter.cc | 2 | ||||
-rw-r--r-- | chalk/colorspaces/wetsticky/wet_sticky_plugin.cc | 2 | ||||
-rw-r--r-- | chalk/colorspaces/ycbcr_u16/ycbcr_u16_plugin.cc | 2 | ||||
-rw-r--r-- | chalk/colorspaces/ycbcr_u8/ycbcr_u8_plugin.cc | 2 |
14 files changed, 21 insertions, 21 deletions
diff --git a/chalk/colorspaces/cmyk_u16/cmyk_u16_plugin.cc b/chalk/colorspaces/cmyk_u16/cmyk_u16_plugin.cc index 74c8f165..4b3afa29 100644 --- a/chalk/colorspaces/cmyk_u16/cmyk_u16_plugin.cc +++ b/chalk/colorspaces/cmyk_u16/cmyk_u16_plugin.cc @@ -45,7 +45,7 @@ CMYKU16Plugin::CMYKU16Plugin(TQObject *parent, const char *name, const TQStringL KisColorSpace * colorSpaceCMYKU16 = new KisCmykU16ColorSpace(f, 0); KisColorSpaceFactory * csf = new KisCmykU16ColorSpaceFactory(); - Q_CHECK_PTR(colorSpaceCMYKU16); + TQ_CHECK_PTR(colorSpaceCMYKU16); f->add(csf); KisHistogramProducerFactoryRegistry::instance()->add( new KisBasicHistogramProducerFactory<KisBasicU16HistogramProducer> diff --git a/chalk/colorspaces/cmyk_u8/cmyk_plugin.cc b/chalk/colorspaces/cmyk_u8/cmyk_plugin.cc index 6e349ad5..700d954c 100644 --- a/chalk/colorspaces/cmyk_u8/cmyk_plugin.cc +++ b/chalk/colorspaces/cmyk_u8/cmyk_plugin.cc @@ -49,7 +49,7 @@ CMYKPlugin::CMYKPlugin(TQObject *parent, const char *name, const TQStringList &) KisColorSpace * colorSpaceCMYK = new KisCmykColorSpace(f, 0); KisColorSpaceFactory * csf = new KisCmykColorSpaceFactory(); - Q_CHECK_PTR(colorSpaceCMYK); + TQ_CHECK_PTR(colorSpaceCMYK); f->add(csf); KisHistogramProducerFactoryRegistry::instance()->add( diff --git a/chalk/colorspaces/gray_u16/gray_u16_plugin.cc b/chalk/colorspaces/gray_u16/gray_u16_plugin.cc index bfb68e8c..5e9e17f9 100644 --- a/chalk/colorspaces/gray_u16/gray_u16_plugin.cc +++ b/chalk/colorspaces/gray_u16/gray_u16_plugin.cc @@ -46,7 +46,7 @@ GRAYU16Plugin::GRAYU16Plugin(TQObject *parent, const char *name, const TQStringL KisColorSpace * colorSpaceGRAYU16 = new KisGrayU16ColorSpace(f, 0); KisColorSpaceFactory * csf = new KisGrayU16ColorSpaceFactory(); - Q_CHECK_PTR(colorSpaceGRAYU16); + TQ_CHECK_PTR(colorSpaceGRAYU16); f->add(csf); KisHistogramProducerFactoryRegistry::instance()->add( diff --git a/chalk/colorspaces/gray_u8/gray_plugin.cc b/chalk/colorspaces/gray_u8/gray_plugin.cc index c0a207b3..d6533c79 100644 --- a/chalk/colorspaces/gray_u8/gray_plugin.cc +++ b/chalk/colorspaces/gray_u8/gray_plugin.cc @@ -59,7 +59,7 @@ GrayPlugin::GrayPlugin(TQObject *parent, const char *name, const TQStringList &) KisColorSpace * colorSpaceGrayA = new KisGrayColorSpace(f, 0); KisColorSpaceFactory * csf = new KisGrayColorSpaceFactory(); - Q_CHECK_PTR(colorSpaceGrayA); + TQ_CHECK_PTR(colorSpaceGrayA); f->add(csf); diff --git a/chalk/colorspaces/rgb_f16half/rgb_f16half_plugin.cc b/chalk/colorspaces/rgb_f16half/rgb_f16half_plugin.cc index 3f2b6a85..911da6a0 100644 --- a/chalk/colorspaces/rgb_f16half/rgb_f16half_plugin.cc +++ b/chalk/colorspaces/rgb_f16half/rgb_f16half_plugin.cc @@ -46,7 +46,7 @@ RGBF16HalfPlugin::RGBF16HalfPlugin(TQObject *parent, const char *name, const TQS KisColorSpace * colorSpaceRGBF16Half = new KisRgbF16HalfColorSpace(f, 0); KisColorSpaceFactory *csf = new KisRgbF16HalfColorSpaceFactory(); - Q_CHECK_PTR(colorSpaceRGBF16Half); + TQ_CHECK_PTR(colorSpaceRGBF16Half); f->add(csf); KisHistogramProducerFactoryRegistry::instance()->add( new KisBasicHistogramProducerFactory<KisBasicF16HalfHistogramProducer> diff --git a/chalk/colorspaces/wet/kis_wet_colorspace.cc b/chalk/colorspaces/wet/kis_wet_colorspace.cc index dbb6c3f9..685e5559 100644 --- a/chalk/colorspaces/wet/kis_wet_colorspace.cc +++ b/chalk/colorspaces/wet/kis_wet_colorspace.cc @@ -240,7 +240,7 @@ TQ_UINT16 KisWetColorSpace::scaleToU16(const TQ_UINT8 * /*srcPixel*/, TQ_INT32 / void KisWetColorSpace::toTQColor(const TQ_UINT8 *src, TQColor *c, KisProfile * /*profile*/) { TQ_UINT8 * rgb = new TQ_UINT8[3]; - Q_CHECK_PTR(rgb); + TQ_CHECK_PTR(rgb); memset(rgb, 255, 3); @@ -401,7 +401,7 @@ void KisWetColorSpace::wet_init_render_tab() int a, b; wet_render_tab = new TQ_UINT32[4096]; - Q_CHECK_PTR(wet_render_tab); + TQ_CHECK_PTR(wet_render_tab); for (i = 0; i < 4096; i++) { diff --git a/chalk/colorspaces/wet/kis_wetop.cc b/chalk/colorspaces/wet/kis_wetop.cc index 900fd721..15625e5d 100644 --- a/chalk/colorspaces/wet/kis_wetop.cc +++ b/chalk/colorspaces/wet/kis_wetop.cc @@ -63,7 +63,7 @@ KisPaintOp * KisWetOpFactory::createOp(const KisPaintOpSettings *settings, KisPa Q_ASSERT(settings == 0 || wetopSettings != 0); KisPaintOp * op = new KisWetOp(wetopSettings, painter); - Q_CHECK_PTR(op); + TQ_CHECK_PTR(op); return op; } diff --git a/chalk/colorspaces/wet/wet_plugin.cc b/chalk/colorspaces/wet/wet_plugin.cc index df0666c4..3bb8566d 100644 --- a/chalk/colorspaces/wet/wet_plugin.cc +++ b/chalk/colorspaces/wet/wet_plugin.cc @@ -78,7 +78,7 @@ WetPlugin::WetPlugin(TQObject *parent, const char *name, const TQStringList &) KisColorSpace* colorSpaceWet = new KisWetColorSpace(f, 0); KisColorSpaceFactory * csf = new KisWetColorSpaceFactory(); - Q_CHECK_PTR(colorSpaceWet); + TQ_CHECK_PTR(colorSpaceWet); // colorspace f->add(csf); @@ -110,7 +110,7 @@ WetPlugin::WetPlugin(TQObject *parent, const char *name, const TQStringList &) // Create the wet palette KisWetPaletteWidget * w = new KisWetPaletteWidget(m_view); - Q_CHECK_PTR(w); + TQ_CHECK_PTR(w); w->setCaption(i18n("Watercolors")); diff --git a/chalk/colorspaces/wet/wetphysicsfilter.cc b/chalk/colorspaces/wet/wetphysicsfilter.cc index 5d789cf1..4afc3b43 100644 --- a/chalk/colorspaces/wet/wetphysicsfilter.cc +++ b/chalk/colorspaces/wet/wetphysicsfilter.cc @@ -92,22 +92,22 @@ void WetPhysicsFilter::flow(KisPaintDeviceSP src, KisPaintDeviceSP /*dst*/, cons int rs = width; // rowstride double * flow_t = new double[width * height]; - Q_CHECK_PTR(flow_t); + TQ_CHECK_PTR(flow_t); double * flow_b = new double[width * height]; - Q_CHECK_PTR(flow_b); + TQ_CHECK_PTR(flow_b); double * flow_l = new double[width * height]; - Q_CHECK_PTR(flow_l); + TQ_CHECK_PTR(flow_l); double * flow_r = new double[width * height]; - Q_CHECK_PTR(flow_r); + TQ_CHECK_PTR(flow_r); double * fluid = new double[width * height]; - Q_CHECK_PTR(fluid); + TQ_CHECK_PTR(fluid); double * outflow = new double[width * height]; - Q_CHECK_PTR(outflow); + TQ_CHECK_PTR(outflow); // Height of the paper surface. Do we also increase height because of paint deposits? int my_height; diff --git a/chalk/colorspaces/wetsticky/brushop/kis_wsbrushop.cc b/chalk/colorspaces/wetsticky/brushop/kis_wsbrushop.cc index d1616bd6..ed828bf5 100644 --- a/chalk/colorspaces/wetsticky/brushop/kis_wsbrushop.cc +++ b/chalk/colorspaces/wetsticky/brushop/kis_wsbrushop.cc @@ -32,7 +32,7 @@ KisPaintOp * KisWSBrushOpFactory::createOp(const KisPaintOpSettings */*settings*/, KisPainter * painter) { KisPaintOp * op = new KisWSBrushOp(painter); - Q_CHECK_PTR(op); + TQ_CHECK_PTR(op); return op; } diff --git a/chalk/colorspaces/wetsticky/kis_ws_engine_filter.cc b/chalk/colorspaces/wetsticky/kis_ws_engine_filter.cc index 192e8517..89a2f59e 100644 --- a/chalk/colorspaces/wetsticky/kis_ws_engine_filter.cc +++ b/chalk/colorspaces/wetsticky/kis_ws_engine_filter.cc @@ -94,7 +94,7 @@ void single_step(KisColorSpace * cs, KisPaintDeviceSP src, KisPaintDeviceSP dst src -> colorSpace() -> toTQColor(pix, &c, &opacity); TQ_UINT8 *pix = new TQ_UINT8[sizeof( cell )]; - Q_CHECK_PTR(pix); + TQ_CHECK_PTR(pix); cs -> fromTQColor(c, opacity, pix); } diff --git a/chalk/colorspaces/wetsticky/wet_sticky_plugin.cc b/chalk/colorspaces/wetsticky/wet_sticky_plugin.cc index a5c12811..fd477dc7 100644 --- a/chalk/colorspaces/wetsticky/wet_sticky_plugin.cc +++ b/chalk/colorspaces/wetsticky/wet_sticky_plugin.cc @@ -46,7 +46,7 @@ WetStickyPlugin::WetStickyPlugin(TQObject *parent, const char *name, const TQStr if ( parent->inherits("KisFactory") ) { KisColorSpace * colorSpaceWS = new KisWetStickyColorSpace(); - Q_CHECK_PTR(colorSpaceWS); + TQ_CHECK_PTR(colorSpaceWS); KisColorSpaceRegistry::instance() -> add(colorSpaceWS); KisFilterRegistry::instance()->add(new KisWSEngineFilter()); } diff --git a/chalk/colorspaces/ycbcr_u16/ycbcr_u16_plugin.cc b/chalk/colorspaces/ycbcr_u16/ycbcr_u16_plugin.cc index 7d926c48..fdfb2310 100644 --- a/chalk/colorspaces/ycbcr_u16/ycbcr_u16_plugin.cc +++ b/chalk/colorspaces/ycbcr_u16/ycbcr_u16_plugin.cc @@ -44,7 +44,7 @@ YCbCrU16Plugin::YCbCrU16Plugin(TQObject *parent, const char *name, const TQStrin KisColorSpace * colorSpaceYCbCrU16 = new KisYCbCrU16ColorSpace(f, 0); KisColorSpaceFactory * csf = new KisYCbCrU16ColorSpaceFactory(); - Q_CHECK_PTR(colorSpaceYCbCrU16); + TQ_CHECK_PTR(colorSpaceYCbCrU16); f->add(csf); KisHistogramProducerFactoryRegistry::instance()->add( new KisBasicHistogramProducerFactory<KisBasicU16HistogramProducer> diff --git a/chalk/colorspaces/ycbcr_u8/ycbcr_u8_plugin.cc b/chalk/colorspaces/ycbcr_u8/ycbcr_u8_plugin.cc index 00487ce4..34207432 100644 --- a/chalk/colorspaces/ycbcr_u8/ycbcr_u8_plugin.cc +++ b/chalk/colorspaces/ycbcr_u8/ycbcr_u8_plugin.cc @@ -46,7 +46,7 @@ YCbCrU8Plugin::YCbCrU8Plugin(TQObject *parent, const char *name, const TQStringL KisColorSpace * colorSpaceYCbCrU8 = new KisYCbCrU8ColorSpace(f, 0); KisColorSpaceFactory * csf = new KisYCbCrU8ColorSpaceFactory(); - Q_CHECK_PTR(colorSpaceYCbCrU8); + TQ_CHECK_PTR(colorSpaceYCbCrU8); f->add(csf); KisHistogramProducerFactoryRegistry::instance()->add( new KisBasicHistogramProducerFactory<KisBasicU16HistogramProducer> |