diff options
Diffstat (limited to 'src/gui/widgets/VUMeter.h')
-rw-r--r-- | src/gui/widgets/VUMeter.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/gui/widgets/VUMeter.h b/src/gui/widgets/VUMeter.h index 0a06dfd..fd75b9a 100644 --- a/src/gui/widgets/VUMeter.h +++ b/src/gui/widgets/VUMeter.h @@ -26,14 +26,14 @@ #ifndef _RG_VUMETER_H_ #define _RG_VUMETER_H_ -#include <qcolor.h> -#include <qlabel.h> +#include <tqcolor.h> +#include <tqlabel.h> -class QWidget; -class QTimer; -class QPaintEvent; -class QPainter; +class TQWidget; +class TQTimer; +class TQPaintEvent; +class TQPainter; namespace Rosegarden @@ -76,13 +76,13 @@ public: void setRecordLevel(double level); void setRecordLevel(double leftLevel, double rightLevel); - virtual void paintEvent(QPaintEvent*); + virtual void paintEvent(TQPaintEvent*); protected: // Constructor is protected - we can only create an object // from a sub-class of this type from a sub-class. // - VUMeter(QWidget *parent = 0, + VUMeter(TQWidget *parent = 0, VUMeterType type = Plain, bool stereo = false, bool hasRecord = false, @@ -109,13 +109,13 @@ private slots: private: - void drawMeterLevel(QPainter *paint); - void drawColouredBar(QPainter *paint, int channel, + void drawMeterLevel(TQPainter *paint); + void drawColouredBar(TQPainter *paint, int channel, int x, int y, int w, int h); VUMeterType m_type; VUAlignment m_alignment; - QColor m_background; + TQColor m_background; short m_maxLevel; @@ -124,16 +124,16 @@ private: short m_peakLevelLeft; short m_levelStepLeft; short m_recordLevelStepLeft; - QTimer *m_fallTimerLeft; - QTimer *m_peakTimerLeft; + TQTimer *m_fallTimerLeft; + TQTimer *m_peakTimerLeft; short m_levelRight; short m_recordLevelRight; short m_peakLevelRight; short m_levelStepRight; short m_recordLevelStepRight; - QTimer *m_fallTimerRight; - QTimer *m_peakTimerRight; + TQTimer *m_fallTimerRight; + TQTimer *m_peakTimerRight; bool m_showPeakLevel; short m_baseLevelStep; |