summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrPBPreview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:32:11 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /kpresenter/KPrPBPreview.cpp
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kpresenter/KPrPBPreview.cpp')
-rw-r--r--kpresenter/KPrPBPreview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kpresenter/KPrPBPreview.cpp b/kpresenter/KPrPBPreview.cpp
index 1afef977..a6938d82 100644
--- a/kpresenter/KPrPBPreview.cpp
+++ b/kpresenter/KPrPBPreview.cpp
@@ -55,7 +55,7 @@ void KPrPBPreview::resizeEvent( TQResizeEvent *e )
{
#if 1
gradient->setSize( contentsRect().size() );
- tqrepaint();
+ repaint();
#endif
}
}
@@ -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());
@@ -118,7 +118,7 @@ void KPrPBPreview::setGradient( const TQColor &_c1, const TQColor &_c2, BCType _
gradient->setUnbalanced( _unbalanced );
gradient->setXFactor( _xfactor );
gradient->setYFactor( _yfactor );
- tqrepaint( false );
+ repaint( false );
}