summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrPBPreview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrPBPreview.cpp')
-rw-r--r--kpresenter/KPrPBPreview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kpresenter/KPrPBPreview.cpp b/kpresenter/KPrPBPreview.cpp
index 1afef977..d1afdd8b 100644
--- a/kpresenter/KPrPBPreview.cpp
+++ b/kpresenter/KPrPBPreview.cpp
@@ -67,7 +67,7 @@ void KPrPBPreview::drawContents( TQPainter *painter )
if ( paintType == Pen ) {
painter->fillRect( 0, 0, contentsRect().width(), contentsRect().height(),
- tqcolorGroup().base() );
+ colorGroup().base() );
KoSize diff1( 0, 0 ), diff2( 0, 0 );
int _w = int( pen.pointWidth() );
@@ -94,7 +94,7 @@ void KPrPBPreview::drawContents( TQPainter *painter )
} else if ( paintType == Brush ) {
painter->fillRect( 0, 0, contentsRect().width(), contentsRect().height(),
- tqcolorGroup().base() );
+ colorGroup().base() );
painter->fillRect( 0, 0, contentsRect().width(), contentsRect().height(), brush );
} else if ( paintType == Gradient )
painter->drawPixmap( 0, 0, gradient->pixmap());