From 04d353236066b9aa85f6387fa05d3d37b75a7dd2 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 25 Sep 2023 12:03:00 +0900 Subject: Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version Signed-off-by: Michele Calgaro (cherry picked from commit 4c0dae60b2fbc60996fc8f4bd29ee6219b869527) --- tdefx/kimageeffect.cpp | 4 ++-- tdefx/kimageeffect.h | 2 +- tdefx/kpixmap.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tdefx') diff --git a/tdefx/kimageeffect.cpp b/tdefx/kimageeffect.cpp index bba2e4952..0ee1645cb 100644 --- a/tdefx/kimageeffect.cpp +++ b/tdefx/kimageeffect.cpp @@ -58,7 +58,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #endif //====================================================================== // -// Utility stuff for effects ported from ImageMagick to QImage +// Utility stuff for effects ported from ImageMagick to TQImage // //====================================================================== #define MaxRGB 255L @@ -2820,7 +2820,7 @@ void KImageEffect::threshold(TQImage &img, unsigned int threshold) data = (unsigned int *)img.tqcolorTable(); } for(i=0; i < count; ++i) - data[i] = intensityValue(data[i]) < threshold ? QColor(Qt::black).rgb() : QColor(Qt::white).rgb(); + data[i] = intensityValue(data[i]) < threshold ? TQColor(Qt::black).rgb() : TQColor(Qt::white).rgb(); } void KImageEffect::hull(const int x_offset, const int y_offset, diff --git a/tdefx/kimageeffect.h b/tdefx/kimageeffect.h index cc79533f7..3bfd10944 100644 --- a/tdefx/kimageeffect.h +++ b/tdefx/kimageeffect.h @@ -398,7 +398,7 @@ public: const TQColor &cb, int ncols=0); /** - * Build a hash on any given QImage + * Build a hash on any given TQImage * * @param image The TQImage to process * @param lite The hash faces the indicated lighting (cardinal poles). diff --git a/tdefx/kpixmap.cpp b/tdefx/kpixmap.cpp index 8cc9e384a..bbf483016 100644 --- a/tdefx/kpixmap.cpp +++ b/tdefx/kpixmap.cpp @@ -75,7 +75,7 @@ static bool kdither_32_to_8( const TQImage *src, TQImage *dst ) pv[2] = new int[sw]; for ( y=0; y < src->height(); y++ ) { - // p = (QRgb *)src->scanLine(y); + // p = (TQRgb *)src->scanLine(y); b = dst->scanLine(y); int endian = (TQImage::systemBitOrder() == TQImage::BigEndian); int x; -- cgit v1.2.1