summaryrefslogtreecommitdiffstats
path: root/tdeprint/cups/image.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-25 12:03:00 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-25 12:29:31 +0900
commit4c0dae60b2fbc60996fc8f4bd29ee6219b869527 (patch)
tree6aa583e34395f4d19d4b85f081b31513e5c9c19d /tdeprint/cups/image.cpp
parent066f257eadc5866386c2cfbdba1a93105cff67ae (diff)
downloadtdelibs-4c0dae60b2fbc60996fc8f4bd29ee6219b869527.tar.gz
tdelibs-4c0dae60b2fbc60996fc8f4bd29ee6219b869527.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeprint/cups/image.cpp')
-rw-r--r--tdeprint/cups/image.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeprint/cups/image.cpp b/tdeprint/cups/image.cpp
index ce56bb4b9..d26b01400 100644
--- a/tdeprint/cups/image.cpp
+++ b/tdeprint/cups/image.cpp
@@ -249,10 +249,10 @@ TQImage convertImage(const TQImage& image, int hue, int saturation, int brightne
{
float mat[3][3] = {{1.0,0.0,0.0},{0.0,1.0,0.0},{0.0,0.0,1.0}};
int lut[3][3][256];
- QRgb c;
+ TQRgb c;
int r,g,b,v,r2,g2,b2;
float gam = 1.0/(float(gamma)/1000.0);
- QImage img(image);
+ TQImage img(image);
saturate(mat,saturation*0.01);
huerotate(mat,(float)hue);