From d4e11a5f488204ab8886e167c7c4af1e6e16ab58 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 5 Dec 2011 23:54:16 -0600 Subject: Use non-tq sizeHint functions to fix bindings --- kio/kfile/kfilespeedbar.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kio/kfile/kfilespeedbar.cpp') diff --git a/kio/kfile/kfilespeedbar.cpp b/kio/kfile/kfilespeedbar.cpp index c3449ca9b..154009625 100644 --- a/kio/kfile/kfilespeedbar.cpp +++ b/kio/kfile/kfilespeedbar.cpp @@ -133,15 +133,15 @@ void KFileSpeedBar::save( KConfig *config ) writeConfig( config, "KFileDialog Speedbar" ); } -TQSize KFileSpeedBar::tqsizeHint() const +TQSize KFileSpeedBar::sizeHint() const { - TQSize tqsizeHint = KURLBar::tqsizeHint(); + TQSize sizeHint = KURLBar::sizeHint(); int ems = fontMetrics().width("mmmmmmmmmmmm"); - if (tqsizeHint.width() < ems) + if (sizeHint.width() < ems) { - tqsizeHint.setWidth(ems); + sizeHint.setWidth(ems); } - return tqsizeHint; + return sizeHint; } #include "kfilespeedbar.moc" -- cgit v1.2.1