summaryrefslogtreecommitdiffstats
path: root/tdeui/kpixmapio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/kpixmapio.cpp')
-rw-r--r--tdeui/kpixmapio.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tdeui/kpixmapio.cpp b/tdeui/kpixmapio.cpp
index 47f6c405f..c9047c2f6 100644
--- a/tdeui/kpixmapio.cpp
+++ b/tdeui/kpixmapio.cpp
@@ -664,7 +664,7 @@ void KPixmapIO::convertToXImage(const TQImage &img)
{
uchar *src;
TQ_INT32 val, *dst;
- TQRgb pixel, *clut = img.tqcolorTable();
+ TQRgb pixel, *clut = img.colorTable();
for (y=0; y<height; y++)
{
src = const_cast<TQImage&>(img).scanLine(y);
@@ -721,7 +721,7 @@ void KPixmapIO::convertToXImage(const TQImage &img)
{
uchar *src;
TQ_INT32 val, *dst;
- TQRgb pixel, *clut = img.tqcolorTable();
+ TQRgb pixel, *clut = img.colorTable();
for (y=0; y<height; y++)
{
src = const_cast<TQImage&>(img).scanLine(y);
@@ -780,7 +780,7 @@ void KPixmapIO::convertToXImage(const TQImage &img)
{
uchar *src, *dst;
int w1 = width/4;
- TQRgb *clut = img.tqcolorTable(), d1, d2, d3, d4;
+ TQRgb *clut = img.colorTable(), d1, d2, d3, d4;
for (y=0; y<height; y++)
{
src = const_cast<TQImage&>(img).scanLine(y);
@@ -841,7 +841,7 @@ void KPixmapIO::convertToXImage(const TQImage &img)
{
uchar *src, *dst;
int w1 = width/4;
- TQRgb *clut = img.tqcolorTable(), d1, d2, d3, d4;
+ TQRgb *clut = img.colorTable(), d1, d2, d3, d4;
for (y=0; y<height; y++)
{
src = const_cast<TQImage&>(img).scanLine(y);
@@ -878,7 +878,7 @@ void KPixmapIO::convertToXImage(const TQImage &img)
} else
{
uchar *src;
- TQRgb *dst, *clut = img.tqcolorTable();
+ TQRgb *dst, *clut = img.colorTable();
for (y=0; y<height; y++)
{
src = const_cast<TQImage&>(img).scanLine(y);