diff options
author | Timothy Pearson <[email protected]> | 2011-12-18 18:33:07 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-18 18:33:07 -0600 |
commit | 3c299dfe48c0060272c2966fff599b3b417e2ee4 (patch) | |
tree | f248b71f55539d6689a4cbe086d5d8cc146c8998 /arts/tools/levelmeters.cpp | |
parent | f59dfa08651a47f21d004e8e4cb5020b8035287e (diff) | |
download | tdemultimedia-3c299dfe48c0060272c2966fff599b3b417e2ee4.tar.gz tdemultimedia-3c299dfe48c0060272c2966fff599b3b417e2ee4.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'arts/tools/levelmeters.cpp')
-rw-r--r-- | arts/tools/levelmeters.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arts/tools/levelmeters.cpp b/arts/tools/levelmeters.cpp index 08d9099b..93bb0c2a 100644 --- a/arts/tools/levelmeters.cpp +++ b/arts/tools/levelmeters.cpp @@ -20,7 +20,7 @@ PeakBar::PeakBar(TQWidget *parent) lastValues.setAutoDelete( TRUE ); setFrameStyle(TQFrame::StyledPanel | TQFrame::Sunken); - tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Maximum, TQSizePolicy::Preferred)); + setSizePolicy(TQSizePolicy(TQSizePolicy::Maximum, TQSizePolicy::Preferred)); setBackgroundMode(NoBackground); setMinimumSize(frameWidth()+7, 70); } @@ -30,7 +30,7 @@ void PeakBar::frameChanged() { TQFrame::frameChanged(); } -TQSize PeakBar::tqsizeHint() const { +TQSize PeakBar::sizeHint() const { return TQSize(13, 250); } @@ -122,7 +122,7 @@ PeakLevelMeters::PeakLevelMeters(TQWidget *parent): left.setLineWidth(2); right.setLineWidth(2); scaleView.setScaleMargins(right.frameWidth()); - tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Maximum, TQSizePolicy::Preferred)); + setSizePolicy(TQSizePolicy(TQSizePolicy::Maximum, TQSizePolicy::Preferred)); setDbRange(36); } @@ -144,7 +144,7 @@ void PeakLevelMeters::setValues(float leftVal, float rightVal) { ScaleView::ScaleView(TQWidget *parent): TQFrame(parent) { font.setPixelSize(10); - tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Preferred)); + setSizePolicy(TQSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Preferred)); } void ScaleView::setDbRange(int db) { @@ -152,7 +152,7 @@ void ScaleView::setDbRange(int db) { tqrepaint(); } -TQSize ScaleView::tqsizeHint() const { +TQSize ScaleView::sizeHint() const { return TQSize(TQFontMetrics(font).width("-88")+8, 250); } |