summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-18 16:33:02 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-18 16:33:02 +0900
commit9819dffc57bc205b261e702018579949c5c2f73b (patch)
treecf43d4dd1221168f2786912f5835be2d4e3667c3 /src
parent18883292a5605327584acee14f6e327071417939 (diff)
downloadgwenview-9819dffc57bc205b261e702018579949c5c2f73b.tar.gz
gwenview-9819dffc57bc205b261e702018579949c5c2f73b.zip
Replace various strings '#define'd in tqtinterface
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src')
-rw-r--r--src/imageutils/croppedqimage.cpp2
-rw-r--r--src/imageutils/imageutils.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/imageutils/croppedqimage.cpp b/src/imageutils/croppedqimage.cpp
index 7f47366..8133074 100644
--- a/src/imageutils/croppedqimage.cpp
+++ b/src/imageutils/croppedqimage.cpp
@@ -39,7 +39,7 @@ CroppedTQImage::CroppedTQImage( const TQImage& im, const TQRect& rect )
{
if( im.isNull())
return;
- memcpy( tqcolorTable(), im.tqcolorTable(), im.numColors() * sizeof( TQRgb ));
+ memcpy( colorTable(), im.colorTable(), im.numColors() * sizeof( TQRgb ));
setAlphaBuffer( im.hasAlphaBuffer());
setDotsPerMeterX( im.dotsPerMeterX());
setDotsPerMeterY( im.dotsPerMeterY());
diff --git a/src/imageutils/imageutils.cpp b/src/imageutils/imageutils.cpp
index a50dbed..9da3680 100644
--- a/src/imageutils/imageutils.cpp
+++ b/src/imageutils/imageutils.cpp
@@ -169,7 +169,7 @@ TQImage changeImage( const TQImage& image, int value )
}
else
{
- TQRgb* colors = im.tqcolorTable();
+ TQRgb* colors = im.colorTable();
for( int i = 0;
i < im.numColors();
++i )