From ad1fc5fc8eadb9b63e8767e57ac41cbac84f7eb7 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:57:30 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 9d6927a7d6a543332f828bffedf65eecf6774c6d. --- src/libgui/toplevel_ui.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libgui/toplevel_ui.cpp') diff --git a/src/libgui/toplevel_ui.cpp b/src/libgui/toplevel_ui.cpp index 83a92c4..51abeab 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().pixelMetric(TQStyle::PM_DefaultFrameWidth, this); + int h = fm.height() + 2*tqstyle().tqpixelMetric(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::sizeHint() const +TQSize MenuBarButton::tqsizeHint() const { - return TQSize(TQToolButton::sizeHint().width(), height()); + return TQSize(TQToolButton::tqsizeHint().width(), height()); } -- cgit v1.2.1