diff options
Diffstat (limited to 'kpresenter/KPrPBPreview.cpp')
-rw-r--r-- | kpresenter/KPrPBPreview.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kpresenter/KPrPBPreview.cpp b/kpresenter/KPrPBPreview.cpp index a6938d82..1afef977 100644 --- a/kpresenter/KPrPBPreview.cpp +++ b/kpresenter/KPrPBPreview.cpp @@ -55,7 +55,7 @@ void KPrPBPreview::resizeEvent( TQResizeEvent *e ) { #if 1 gradient->setSize( contentsRect().size() ); - repaint(); + tqrepaint(); #endif } } @@ -67,7 +67,7 @@ void KPrPBPreview::drawContents( TQPainter *painter ) if ( paintType == Pen ) { painter->fillRect( 0, 0, contentsRect().width(), contentsRect().height(), - colorGroup().base() ); + tqcolorGroup().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(), - colorGroup().base() ); + tqcolorGroup().base() ); painter->fillRect( 0, 0, contentsRect().width(), contentsRect().height(), brush ); } else if ( paintType == Gradient ) painter->drawPixmap( 0, 0, gradient->pixmap()); @@ -118,7 +118,7 @@ void KPrPBPreview::setGradient( const TQColor &_c1, const TQColor &_c2, BCType _ gradient->setUnbalanced( _unbalanced ); gradient->setXFactor( _xfactor ); gradient->setYFactor( _yfactor ); - repaint( false ); + tqrepaint( false ); } |