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/colorspaces/wet | |
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/wet')
-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 |
4 files changed, 11 insertions, 11 deletions
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; |