summaryrefslogtreecommitdiffstats
path: root/src/libgui/toplevel_ui.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:33:27 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:33:27 -0600
commit9d6927a7d6a543332f828bffedf65eecf6774c6d (patch)
tree9f8210096908fddb7d266b477152021c45fa1a00 /src/libgui/toplevel_ui.cpp
parent3534213800bd8d151759df307755f2bbd592dfa1 (diff)
downloadpiklab-9d6927a7d6a543332f828bffedf65eecf6774c6d.tar.gz
piklab-9d6927a7d6a543332f828bffedf65eecf6774c6d.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/libgui/toplevel_ui.cpp')
-rw-r--r--src/libgui/toplevel_ui.cpp6
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());
}