summaryrefslogtreecommitdiffstats
path: root/kolourpaint/kpselection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kolourpaint/kpselection.cpp')
-rw-r--r--kolourpaint/kpselection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kolourpaint/kpselection.cpp b/kolourpaint/kpselection.cpp
index 2728f3cb..32434e9d 100644
--- a/kolourpaint/kpselection.cpp
+++ b/kolourpaint/kpselection.cpp
@@ -784,7 +784,7 @@ TQPixmap kpSelection::transparentForegroundTextPixmap () const
// we can identify the transparent pixels for manually creating
// the mask.
pixmapPainter.setPen (
- TQColor (mostContrastingRGB (m_textStyle.effectiveBackgroundColor ().toTQRgb () & TQRGB_MASK)));
+ TQColor (mostContrastingRGB (m_textStyle.effectiveBackgroundColor ().toTQRgb () & TQT_RGB_MASK)));
pixmapPainter.setFont (font);
@@ -1435,7 +1435,7 @@ void kpSelection::flip (bool horiz, bool vert)
#if DEBUG_KP_SELECTION && 1
kdDebug () << "\thave transparency mask - flipping that" << endl;
#endif
- kpPixmapFX::flip (TQT_TQPIXMAP(&m_transparencyMask), horiz, vert);
+ kpPixmapFX::flip (&m_transparencyMask, horiz, vert);
}