diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:08:55 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:08:55 -0600 |
commit | 09c863183250d07f82c0919e0a40fc7834c32192 (patch) | |
tree | 2e93b57e4c4a6f0548222e04d1b7bda1ade1c742 /libk3b/tools/k3bmsfedit.cpp | |
parent | 650b58e8e66f8e3e1cf78ee3e0037f4c9e00699a (diff) | |
download | k3b-09c863183250d07f82c0919e0a40fc7834c32192.tar.gz k3b-09c863183250d07f82c0919e0a40fc7834c32192.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'libk3b/tools/k3bmsfedit.cpp')
-rw-r--r-- | libk3b/tools/k3bmsfedit.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libk3b/tools/k3bmsfedit.cpp b/libk3b/tools/k3bmsfedit.cpp index 2266be8..e3d3a70 100644 --- a/libk3b/tools/k3bmsfedit.cpp +++ b/libk3b/tools/k3bmsfedit.cpp @@ -50,16 +50,16 @@ K3bMsfEdit::~K3bMsfEdit() {} -TQSize K3bMsfEdit::tqsizeHint() const +TQSize K3bMsfEdit::sizeHint() const { // more or less copied from TQSpinBox constPolish(); - TQSize sz = editor()->tqsizeHint(); + TQSize sz = editor()->sizeHint(); int h = sz.height(); TQFontMetrics fm( font() ); int w = fm.width( "00:00:00" ); int wx = fm.width( ' ' )*2; - int frame = tqstyle().tqpixelMetric( TQStyle::PM_SpinBoxFrameWidth ); + int frame = tqstyle().pixelMetric( TQStyle::PM_SpinBoxFrameWidth ); return tqstyle().tqsizeFromContents(TQStyle::CT_SpinBox, this, TQSize( w + wx + downRect().width() + frame*2, h + frame*2). |