summaryrefslogtreecommitdiffstats
path: root/tdeprint/posterpreview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:48:49 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:48:49 -0600
commit13281e2856a2ef43bbab78c5528470309c23aa77 (patch)
tree936bcf8145dc235004c73e9fb3d6b3dca9aa370b /tdeprint/posterpreview.cpp
parente81c741bb2cf337a43524e75f22f7728ce17a343 (diff)
downloadtdelibs-13281e2856a2ef43bbab78c5528470309c23aa77.tar.gz
tdelibs-13281e2856a2ef43bbab78c5528470309c23aa77.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'tdeprint/posterpreview.cpp')
-rw-r--r--tdeprint/posterpreview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeprint/posterpreview.cpp b/tdeprint/posterpreview.cpp
index 7e8542c22..241c53dbf 100644
--- a/tdeprint/posterpreview.cpp
+++ b/tdeprint/posterpreview.cpp
@@ -106,7 +106,7 @@ void PosterPreview::drawContents( TQPainter *painter )
TQPixmap pix( width(), height() );
TQPainter *p = new TQPainter( &pix );
- p->fillRect( 0, 0, width(), height(), tqcolorGroup().background() );
+ p->fillRect( 0, 0, width(), height(), colorGroup().background() );
if ( isEnabled() )
{
@@ -120,7 +120,7 @@ void PosterPreview::drawContents( TQPainter *painter )
int x = ( width()-richtext.widthUsed() )/2, y = ( height()-richtext.height() )/2;
x = QMAX( x, 0 );
y = QMAX( y, 0 );
- richtext.draw( p, x, y, TQRect( x, y, richtext.widthUsed(), richtext.height() ), tqcolorGroup() );
+ richtext.draw( p, x, y, TQRect( x, y, richtext.widthUsed(), richtext.height() ), colorGroup() );
m_boundingrect = TQRect();
}
else