diff options
Diffstat (limited to 'arts/gui/kde/klevelmeter_normalbars.cpp')
-rw-r--r-- | arts/gui/kde/klevelmeter_normalbars.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/arts/gui/kde/klevelmeter_normalbars.cpp b/arts/gui/kde/klevelmeter_normalbars.cpp index 7a6fcdfb..29593551 100644 --- a/arts/gui/kde/klevelmeter_normalbars.cpp +++ b/arts/gui/kde/klevelmeter_normalbars.cpp @@ -21,19 +21,19 @@ #include "klevelmeter_normalbars.h" #include <kdebug.h> -#include <qpainter.h> -#include <qlayout.h> +#include <tqpainter.h> +#include <tqlayout.h> -KLevelMeter_NormalBars::KLevelMeter_NormalBars( Arts::KLevelMeter_impl* impl, QWidget* parent, long substyle, long count, Arts::Direction dir, float _dbmin, float _dbmax ) : KLevelMeter_Template( impl, parent, substyle, count, dir, _dbmin, _dbmax ) { -//kdDebug()<<"KLevelMeter_NormalBars::KLevelMeter_NormalBars( Arts::KLevelMeter_impl* "<<impl<<", QWidget* "<<parent<<", long "<<substyle<<", long "<<count<<", float "<<_dbmin<<", float "<<_dbmax<<" )"<<endl; - _layout = new QBoxLayout( this, QBoxLayout::BottomToTop ); +KLevelMeter_NormalBars::KLevelMeter_NormalBars( Arts::KLevelMeter_impl* impl, TQWidget* parent, long substyle, long count, Arts::Direction dir, float _dbmin, float _dbmax ) : KLevelMeter_Template( impl, parent, substyle, count, dir, _dbmin, _dbmax ) { +//kdDebug()<<"KLevelMeter_NormalBars::KLevelMeter_NormalBars( Arts::KLevelMeter_impl* "<<impl<<", TQWidget* "<<parent<<", long "<<substyle<<", long "<<count<<", float "<<_dbmin<<", float "<<_dbmax<<" )"<<endl; + _layout = new TQBoxLayout( this, TQBoxLayout::BottomToTop ); } void KLevelMeter_NormalBars::invalue( float n, float p ) { //kdDebug()<<"KLevelMeter_NormalBars::invalue( float "<<n<<", float "<<p<<" )"<<endl; _peak = amptondb( p ); _value = amptondb( n ); - if ( _dir != Arts::Direction( _layout->direction() ) ) _layout->setDirection( QBoxLayout::Direction( _dir ) ); + if ( _dir != Arts::Direction( _layout->direction() ) ) _layout->setDirection( TQBoxLayout::Direction( _dir ) ); for ( uint i=0; i<bars.count(); i++ ) bars.at( i )->setValue( _value ); } @@ -46,8 +46,8 @@ void KLevelMeter_NormalBars::count( long n ) { } } -void KLevelMeter_NormalBars::resizeEvent( QResizeEvent* ) { - //kdDebug()<<"KLevelMeter_NormalBars::resizeEvent( QResizeEvent* )"<<endl; +void KLevelMeter_NormalBars::resizeEvent( TQResizeEvent* ) { + //kdDebug()<<"KLevelMeter_NormalBars::resizeEvent( TQResizeEvent* )"<<endl; uint barscount = _count; //kdDebug()<<"[1] barscount="<<barscount<<" bars.count()="<<bars.count()<<endl; if ( _dir==Arts::BottomToTop || _dir==Arts::TopToBottom ) { |