diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:28:11 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-04 03:25:46 +0200 |
commit | 0669339d48f65fc18388faefe54b239591d4705f (patch) | |
tree | 6ef46442916496544051ff920549b71024548581 /kicker-applets/mediacontrol/simplebutton.cpp | |
parent | be503a6af9e8a650410f5e3446c1c4ee338adaf4 (diff) | |
download | tdeaddons-0669339d48f65fc18388faefe54b239591d4705f.tar.gz tdeaddons-0669339d48f65fc18388faefe54b239591d4705f.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit b88830e9111dc4375bc1461c3f7b3e7b3e73f733)
Diffstat (limited to 'kicker-applets/mediacontrol/simplebutton.cpp')
-rw-r--r-- | kicker-applets/mediacontrol/simplebutton.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kicker-applets/mediacontrol/simplebutton.cpp b/kicker-applets/mediacontrol/simplebutton.cpp index f232377..f5239bd 100644 --- a/kicker-applets/mediacontrol/simplebutton.cpp +++ b/kicker-applets/mediacontrol/simplebutton.cpp @@ -63,22 +63,22 @@ void SimpleButton::setOrientation(Qt::Orientation orientation) update(); } -TQSize SimpleButton::tqsizeHint() const +TQSize SimpleButton::sizeHint() const { const TQPixmap* pm = pixmap(); if (!pm) - return TQButton::tqsizeHint(); + return TQButton::sizeHint(); else return TQSize(pm->width() + KDialog::spacingHint(), pm->height() + KDialog::spacingHint()); } -TQSize SimpleButton::tqminimumSizeHint() const +TQSize SimpleButton::minimumSizeHint() const { const TQPixmap* pm = pixmap(); if (!pm) - return TQButton::tqminimumSizeHint(); + return TQButton::minimumSizeHint(); else return TQSize(pm->width(), pm->height()); } @@ -200,7 +200,7 @@ SimpleArrowButton::SimpleArrowButton(TQWidget *parent, TQt::ArrowType arrow, con _inside = false; } -TQSize SimpleArrowButton::tqsizeHint() const +TQSize SimpleArrowButton::sizeHint() const { return TQSize( 12, 12 ); } @@ -234,7 +234,7 @@ void SimpleArrowButton::drawButton( TQPainter *p ) int flags = TQStyle::Style_Default | TQStyle::Style_Enabled; if (isDown() || isOn()) flags |= TQStyle::Style_Down; - tqstyle().tqdrawPrimitive(pe, p, r, tqcolorGroup(), flags); + tqstyle().tqdrawPrimitive(pe, p, r, colorGroup(), flags); } void SimpleArrowButton::enterEvent( TQEvent *e ) |