summaryrefslogtreecommitdiffstats
path: root/arts/tools/levelmeters.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:22:34 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:22:34 -0600
commitd4ad38145541b8aabb0623e9a81d72f4d4310c90 (patch)
tree74c26b01296ee1b5df1ebc9fed71fae373653367 /arts/tools/levelmeters.cpp
parentdc07846059a60d069687585cc72ff501a2096296 (diff)
downloadtdemultimedia-d4ad38145541b8aabb0623e9a81d72f4d4310c90.tar.gz
tdemultimedia-d4ad38145541b8aabb0623e9a81d72f4d4310c90.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'arts/tools/levelmeters.cpp')
-rw-r--r--arts/tools/levelmeters.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/arts/tools/levelmeters.cpp b/arts/tools/levelmeters.cpp
index 3c2f0fc5..1d0b080c 100644
--- a/arts/tools/levelmeters.cpp
+++ b/arts/tools/levelmeters.cpp
@@ -112,13 +112,13 @@ void PeakBar::setValue(float f) {
PeakLevelMeters::PeakLevelMeters(TQWidget *parent):
StereoLevelMeter(parent), left(this), right(this), scaleView(this)
{
- TQBoxLayout *tqlayout= new TQHBoxLayout(this);
- tqlayout->addWidget(&left);
- // tqlayout->setStretchFactor(&left, 0);
- tqlayout->addWidget(&right);
- // tqlayout->setStretchFactor(&right, 0);
- tqlayout->addWidget(&scaleView);
- // tqlayout->setStretchFactor(&scaleView, 0);
+ TQBoxLayout *layout= new TQHBoxLayout(this);
+ layout->addWidget(&left);
+ // layout->setStretchFactor(&left, 0);
+ layout->addWidget(&right);
+ // layout->setStretchFactor(&right, 0);
+ layout->addWidget(&scaleView);
+ // layout->setStretchFactor(&scaleView, 0);
left.setLineWidth(2);
right.setLineWidth(2);
scaleView.setScaleMargins(right.frameWidth());
@@ -226,9 +226,9 @@ void LedMeter::setValue(float f)
StereoLedMeters::StereoLedMeters(TQWidget *parent)
: StereoLevelMeter(parent), left(this), right(this)
{
- TQBoxLayout *tqlayout= new TQHBoxLayout(this);
- tqlayout->addWidget(&left);
- tqlayout->addWidget(&right);
+ TQBoxLayout *layout= new TQHBoxLayout(this);
+ layout->addWidget(&left);
+ layout->addWidget(&right);
}
void StereoLedMeters::setValues(float leftVal, float rightVal) {