diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:55:47 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:55:47 -0600 |
commit | 650b58e8e66f8e3e1cf78ee3e0037f4c9e00699a (patch) | |
tree | bb4714865b78e327620ce86a37241ed22df43afa /src/k3bminibutton.cpp | |
parent | ef5831dd5c8811c94c9b1bc1377a90174d17c82c (diff) | |
download | k3b-650b58e8e66f8e3e1cf78ee3e0037f4c9e00699a.tar.gz k3b-650b58e8e66f8e3e1cf78ee3e0037f4c9e00699a.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit ef5831dd5c8811c94c9b1bc1377a90174d17c82c.
Diffstat (limited to 'src/k3bminibutton.cpp')
-rw-r--r-- | src/k3bminibutton.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/k3bminibutton.cpp b/src/k3bminibutton.cpp index b20399d..7d425d5 100644 --- a/src/k3bminibutton.cpp +++ b/src/k3bminibutton.cpp @@ -37,7 +37,7 @@ K3bMiniButton::~K3bMiniButton() void K3bMiniButton::drawButton( TQPainter* p ) { - p->fillRect( 0,0, width(), height(), TQBrush(colorGroup().brush(TQColorGroup::Background)) ); + p->fillRect( 0,0, width(), height(), TQBrush(tqcolorGroup().brush(TQColorGroup::Background)) ); p->drawPixmap( (width() - pixmap()->width()) / 2, (height() - pixmap()->height()) / 2, *pixmap() ); if( m_mouseOver && !isDown() ){ p->setPen( white ); @@ -45,12 +45,12 @@ void K3bMiniButton::drawButton( TQPainter* p ) p->lineTo( 0, 0 ); p->lineTo( width() - 1, 0 ); - p->setPen( colorGroup().dark() ); + p->setPen( tqcolorGroup().dark() ); p->lineTo( width() - 1, height() - 1 ); p->lineTo( 0, height() - 1 ); } if( isOn() || isDown() ){ - p->setPen( colorGroup().dark() ); + p->setPen( tqcolorGroup().dark() ); p->moveTo( 0, height() - 1 ); p->lineTo( 0, 0 ); p->lineTo( width() - 1, 0 ); @@ -64,14 +64,14 @@ void K3bMiniButton::drawButton( TQPainter* p ) void K3bMiniButton::enterEvent( TQEvent * ) { m_mouseOver = true; - repaint(); + tqrepaint(); } void K3bMiniButton::leaveEvent( TQEvent * ) { m_mouseOver = false; - repaint(); + tqrepaint(); } #include "k3bminibutton.moc" |