summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui/KoContextCelp.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:12:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:12:30 -0600
commit11191ef0b9908604d1d7aaca382b011ef22c454c (patch)
treed38f0ccd8bfcc9756f5cfc42fb2ad1dad351e6aa /lib/kofficeui/KoContextCelp.cpp
parentc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (diff)
downloadkoffice-11191ef0b9908604d1d7aaca382b011ef22c454c.tar.gz
koffice-11191ef0b9908604d1d7aaca382b011ef22c454c.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'lib/kofficeui/KoContextCelp.cpp')
-rw-r--r--lib/kofficeui/KoContextCelp.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/kofficeui/KoContextCelp.cpp b/lib/kofficeui/KoContextCelp.cpp
index 82f786e8..2b1a2cbe 100644
--- a/lib/kofficeui/KoContextCelp.cpp
+++ b/lib/kofficeui/KoContextCelp.cpp
@@ -61,7 +61,7 @@ void KoVerticalLabel::paintEvent( TQPaintEvent* )
KPixmap pm;
pm.resize( height(), width() );
TQPainter p( &pm );
- p.fillRect( 0, 0, height(), width(), tqcolorGroup().background() );
+ p.fillRect( 0, 0, height(), width(), colorGroup().background() );
p.setFont( font() );
p.drawText( 0, 0, height(), width(), AlignCenter, m_text );
p.end();
@@ -90,9 +90,9 @@ void KoHelpNavButton::paintEvent( TQPaintEvent* )
if ( isEnabled() )
{
if ( m_pressed )
- p.setPen( tqcolorGroup().highlight() );
+ p.setPen( colorGroup().highlight() );
else
- p.setPen( tqcolorGroup().text() );
+ p.setPen( colorGroup().text() );
p.drawPixmap( 1, 1, m_bitmap );
}
} // KoHelpNavButton::paintEvent
@@ -142,9 +142,9 @@ void KoTinyButton::paintEvent( TQPaintEvent* )
if ( isEnabled() )
{
if ( m_pressed )
- p.setPen( tqcolorGroup().highlight() );
+ p.setPen( colorGroup().highlight() );
else
- p.setPen( tqcolorGroup().text() );
+ p.setPen( colorGroup().text() );
p.drawPixmap( width() / 2 - 2, 1, m_bitmap );
}
} // KoTinyButton::paintEvent
@@ -265,7 +265,7 @@ bool KoHelpView::eventFilter( TQObject*, TQEvent* e )
void KoHelpView::paintEvent( TQPaintEvent* )
{
TQPainter p( this );
- currentText->draw( &p, 0, 0, TQRect(), tqcolorGroup() );
+ currentText->draw( &p, 0, 0, TQRect(), colorGroup() );
} // KoHelpView::paintEvent
KoHelpWidget::KoHelpWidget( TQString help, TQWidget* parent )
@@ -450,7 +450,7 @@ void KoContextHelpPopup::resizeEvent( TQResizeEvent* )
void KoContextHelpPopup::paintEvent( TQPaintEvent* )
{
TQPainter p( this );
- p.fillRect( 0, 0, width(), height(), tqcolorGroup().light() );
+ p.fillRect( 0, 0, width(), height(), colorGroup().light() );
p.setPen( black );
p.drawRect( 0, 0, width(), height() );
p.fillRect( width() - 3, 0, width() - 1, height() - 1, black );