summaryrefslogtreecommitdiffstats
path: root/arts/tools/levelmeters.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'arts/tools/levelmeters.cpp')
-rw-r--r--arts/tools/levelmeters.cpp10
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);
}