From ba335c4be73ee8e3ae5c6084e889c003825cda44 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:04:05 -0600 Subject: Rename obsolete tq methods to standard names --- libk3b/tools/k3bmsfedit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libk3b/tools/k3bmsfedit.cpp') diff --git a/libk3b/tools/k3bmsfedit.cpp b/libk3b/tools/k3bmsfedit.cpp index e3d3a70..07ed77d 100644 --- a/libk3b/tools/k3bmsfedit.cpp +++ b/libk3b/tools/k3bmsfedit.cpp @@ -59,8 +59,8 @@ TQSize K3bMsfEdit::sizeHint() const TQFontMetrics fm( font() ); int w = fm.width( "00:00:00" ); int wx = fm.width( ' ' )*2; - int frame = tqstyle().pixelMetric( TQStyle::PM_SpinBoxFrameWidth ); - return tqstyle().tqsizeFromContents(TQStyle::CT_SpinBox, this, + int frame = style().pixelMetric( TQStyle::PM_SpinBoxFrameWidth ); + return style().tqsizeFromContents(TQStyle::CT_SpinBox, this, TQSize( w + wx + downRect().width() + frame*2, h + frame*2). expandedTo( TQApplication::globalStrut() )); -- cgit v1.2.1