diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:14:26 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:14:26 -0600 |
commit | 9d9fe02a944fe0719c2475739411727a729251ad (patch) | |
tree | 5b05f738dd8631ae2c2e2ed46f4a7785fad410f7 /src/libgui/toplevel_ui.cpp | |
parent | ad1fc5fc8eadb9b63e8767e57ac41cbac84f7eb7 (diff) | |
download | piklab-9d9fe02a944fe0719c2475739411727a729251ad.tar.gz piklab-9d9fe02a944fe0719c2475739411727a729251ad.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/libgui/toplevel_ui.cpp')
-rw-r--r-- | src/libgui/toplevel_ui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libgui/toplevel_ui.cpp b/src/libgui/toplevel_ui.cpp index 51abeab..83a92c4 100644 --- a/src/libgui/toplevel_ui.cpp +++ b/src/libgui/toplevel_ui.cpp @@ -65,7 +65,7 @@ MenuBarButton::MenuBarButton(const TQString &icon, TQWidget *parent) : TQToolButton(parent, "menu_bar_button") { TQFontMetrics fm(font()); - int h = fm.height() + 2*tqstyle().tqpixelMetric(TQStyle::PM_DefaultFrameWidth, this); + int h = fm.height() + 2*tqstyle().pixelMetric(TQStyle::PM_DefaultFrameWidth, this); setFixedHeight(h); KIconLoader loader; setIconSet(loader.loadIconSet(icon, KIcon::Small, fm.height()-2)); @@ -73,7 +73,7 @@ MenuBarButton::MenuBarButton(const TQString &icon, TQWidget *parent) setAutoRaise(true); } -TQSize MenuBarButton::tqsizeHint() const +TQSize MenuBarButton::sizeHint() const { - return TQSize(TQToolButton::tqsizeHint().width(), height()); + return TQSize(TQToolButton::sizeHint().width(), height()); } |