diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 27edf28be2772229a7974a007313ea30d92c3ffd (patch) | |
tree | 14b9842bbd90c801d89ad5ddb38831fdf8aec1a4 /arts/tools/levelmeters.cpp | |
parent | 7ef01c0f34d9c6732d258154bcd3ba5a88280db9 (diff) | |
download | tdemultimedia-27edf28be2772229a7974a007313ea30d92c3ffd.tar.gz tdemultimedia-27edf28be2772229a7974a007313ea30d92c3ffd.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'arts/tools/levelmeters.cpp')
-rw-r--r-- | arts/tools/levelmeters.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/arts/tools/levelmeters.cpp b/arts/tools/levelmeters.cpp index ae7834a8..08d9099b 100644 --- a/arts/tools/levelmeters.cpp +++ b/arts/tools/levelmeters.cpp @@ -7,8 +7,8 @@ const int PeakBar::peakMillis=1500; -PeakBar::PeakBar(TQWidget *tqparent) - : ACLevelMeter(tqparent) +PeakBar::PeakBar(TQWidget *parent) + : ACLevelMeter(parent) , maxValue( 0.0f ) , minValue( 0.0f ) { @@ -109,8 +109,8 @@ void PeakBar::setValue(float f) { // ------------------------------------------------------------- -PeakLevelMeters::PeakLevelMeters(TQWidget *tqparent): - StereoLevelMeter(tqparent), left(this), right(this), scaleView(this) +PeakLevelMeters::PeakLevelMeters(TQWidget *parent): + StereoLevelMeter(parent), left(this), right(this), scaleView(this) { TQBoxLayout *tqlayout= new TQHBoxLayout(this); tqlayout->addWidget(&left); @@ -142,7 +142,7 @@ void PeakLevelMeters::setValues(float leftVal, float rightVal) { right.setValue(f); } -ScaleView::ScaleView(TQWidget *tqparent): TQFrame(tqparent) { +ScaleView::ScaleView(TQWidget *parent): TQFrame(parent) { font.setPixelSize(10); tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Preferred)); } @@ -187,7 +187,7 @@ void ScaleView::drawContents(TQPainter *p) { // ------------------------------------------------------------- -LedMeter::LedMeter(TQWidget *tqparent, bool blueState) : ACLevelMeter(tqparent) { +LedMeter::LedMeter(TQWidget *parent, bool blueState) : ACLevelMeter(parent) { setBackgroundColor(black); TQBoxLayout * l = new TQVBoxLayout( this ); l->setAutoAdd(TRUE); @@ -223,8 +223,8 @@ void LedMeter::setValue(float f) // ------------------------------------------------------------- -StereoLedMeters::StereoLedMeters(TQWidget *tqparent) - : StereoLevelMeter(tqparent), left(this), right(this) +StereoLedMeters::StereoLedMeters(TQWidget *parent) + : StereoLevelMeter(parent), left(this), right(this) { TQBoxLayout *tqlayout= new TQHBoxLayout(this); tqlayout->addWidget(&left); |