diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:08:55 -0600 | 
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-23 15:43:43 +0200 | 
| commit | be2dabe8503655c1f6b8049955c499e4f47a51d7 (patch) | |
| tree | 44b4d031f6258da4060c0ef3e4912995d1b004c6 /src/k3bminibutton.cpp | |
| parent | 6abafdc30019fc72eab69a56d829da551a80a235 (diff) | |
| download | k3b-be2dabe8503655c1f6b8049955c499e4f47a51d7.tar.gz k3b-be2dabe8503655c1f6b8049955c499e4f47a51d7.zip | |
Rename old tq methods that no longer need a unique name
(cherry picked from commit 09c863183250d07f82c0919e0a40fc7834c32192)
Diffstat (limited to 'src/k3bminibutton.cpp')
| -rw-r--r-- | src/k3bminibutton.cpp | 6 | 
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 ); | 
