summaryrefslogtreecommitdiffstats
path: root/arts/gui/kde/klevelmeter_normalbars.h
diff options
context:
space:
mode:
Diffstat (limited to 'arts/gui/kde/klevelmeter_normalbars.h')
-rw-r--r--arts/gui/kde/klevelmeter_normalbars.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arts/gui/kde/klevelmeter_normalbars.h b/arts/gui/kde/klevelmeter_normalbars.h
index b0e1c81a..b141f2fc 100644
--- a/arts/gui/kde/klevelmeter_normalbars.h
+++ b/arts/gui/kde/klevelmeter_normalbars.h
@@ -30,6 +30,7 @@ class TQBoxLayout;
class KLevelMeter_NormalBars : public KLevelMeter_Template {
Q_OBJECT
+ TQ_OBJECT
public:
KLevelMeter_NormalBars( Arts::KLevelMeter_impl*, TQWidget* =0, long substyle=0, long count=25, Arts::Direction =Arts::BottomToTop, float _dbmin=-24, float _dbmax=6 );
@@ -48,12 +49,13 @@ private:
class Bar : public TQWidget {
Q_OBJECT
+ TQ_OBJECT
private:
float _min, _max;
TQColor _color;
bool _on;
public:
- Bar( float min, float max, TQColor color, TQWidget* parent ) : TQWidget( parent ), _min( min ), _max( max ), _color( color ), _on( false ) {
+ Bar( float min, float max, TQColor color, TQWidget* tqparent ) : TQWidget( tqparent ), _min( min ), _max( max ), _color( color ), _on( false ) {
setBackgroundColor( _color.dark() );
}
void setValue( float n ) {