summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/AudioVUMeter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/AudioVUMeter.cpp')
-rw-r--r--src/gui/widgets/AudioVUMeter.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/gui/widgets/AudioVUMeter.cpp b/src/gui/widgets/AudioVUMeter.cpp
index 4c15a07..d881818 100644
--- a/src/gui/widgets/AudioVUMeter.cpp
+++ b/src/gui/widgets/AudioVUMeter.cpp
@@ -26,25 +26,25 @@
#include "AudioVUMeter.h"
#include "gui/rulers/VelocityColour.h"
-#include <qcolor.h>
-#include <qlabel.h>
-#include <qpainter.h>
-#include <qtimer.h>
-#include <qwidget.h>
+#include <tqcolor.h>
+#include <tqlabel.h>
+#include <tqpainter.h>
+#include <tqtimer.h>
+#include <tqwidget.h>
#include "VUMeter.h"
namespace Rosegarden
{
-AudioVUMeter::AudioVUMeter(QWidget *parent,
+AudioVUMeter::AudioVUMeter(TQWidget *parent,
VUMeter::VUMeterType type,
bool stereo,
bool hasRecord,
int width,
int height,
const char *name) :
- QWidget(parent, name),
+ TQWidget(parent, name),
m_stereo(stereo)
{
setBackgroundMode(Qt::NoBackground);
@@ -73,9 +73,9 @@ AudioVUMeter::AudioVUMeter(QWidget *parent,
}
void
-AudioVUMeter::paintEvent(QPaintEvent *e)
+AudioVUMeter::paintEvent(TQPaintEvent *e)
{
- QPainter paint(this);
+ TQPainter paint(this);
paint.setPen(colorGroup().mid());
paint.drawRect(0, 0, width(), height());
@@ -90,7 +90,7 @@ AudioVUMeter::paintEvent(QPaintEvent *e)
m_meter->paintEvent(e);
}
-AudioVUMeter::AudioVUMeterImpl::AudioVUMeterImpl(QWidget *parent,
+AudioVUMeter::AudioVUMeterImpl::AudioVUMeterImpl(TQWidget *parent,
VUMeterType type,
bool stereo,
bool hasRecord,