summaryrefslogtreecommitdiffstats
path: root/kviewshell/renderedDocumentPagePixmap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kviewshell/renderedDocumentPagePixmap.cpp')
-rw-r--r--kviewshell/renderedDocumentPagePixmap.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kviewshell/renderedDocumentPagePixmap.cpp b/kviewshell/renderedDocumentPagePixmap.cpp
index f7f91ed9..fc8edade 100644
--- a/kviewshell/renderedDocumentPagePixmap.cpp
+++ b/kviewshell/renderedDocumentPagePixmap.cpp
@@ -71,7 +71,7 @@ TQPixmap RenderedDocumentPagePixmap::accessiblePixmap()
{
case KVSPrefs::EnumRenderMode::Inverted:
// Invert image pixels using TQImage internal function
- backImage.invertPixels(false);
+ backImage.tqinvertPixels(false);
break;
case KVSPrefs::EnumRenderMode::Recolor:
// Recolor image using KImageEffect::flatten with dither:0
@@ -87,7 +87,7 @@ TQPixmap RenderedDocumentPagePixmap::accessiblePixmap()
for( int i = 0; i < pixels; ++i )
{
- val = qGray(data[i]);
+ val = tqGray(data[i]);
if (val > thr)
val = 128 + (127 * (val - thr)) / (255 - thr);
else if ( val < thr )
@@ -100,7 +100,7 @@ TQPixmap RenderedDocumentPagePixmap::accessiblePixmap()
else if (val < 0)
val = 0;
}
- data[i] = qRgba(val, val, val, 255);
+ data[i] = tqRgba(val, val, val, 255);
}
break;
}