summaryrefslogtreecommitdiffstats
path: root/src/k3bminibutton.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:08:55 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:08:55 -0600
commit09c863183250d07f82c0919e0a40fc7834c32192 (patch)
tree2e93b57e4c4a6f0548222e04d1b7bda1ade1c742 /src/k3bminibutton.cpp
parent650b58e8e66f8e3e1cf78ee3e0037f4c9e00699a (diff)
downloadk3b-09c863183250d07f82c0919e0a40fc7834c32192.tar.gz
k3b-09c863183250d07f82c0919e0a40fc7834c32192.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/k3bminibutton.cpp')
-rw-r--r--src/k3bminibutton.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/k3bminibutton.cpp b/src/k3bminibutton.cpp
index 7d425d5..32747f8 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(tqcolorGroup().brush(TQColorGroup::Background)) );
+ p->fillRect( 0,0, width(), height(), TQBrush(colorGroup().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( tqcolorGroup().dark() );
+ p->setPen( colorGroup().dark() );
p->lineTo( width() - 1, height() - 1 );
p->lineTo( 0, height() - 1 );
}
if( isOn() || isDown() ){
- p->setPen( tqcolorGroup().dark() );
+ p->setPen( colorGroup().dark() );
p->moveTo( 0, height() - 1 );
p->lineTo( 0, 0 );
p->lineTo( width() - 1, 0 );