From 11f31c37e5fa4889d9989f10272f44845449cb7b Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 6 Sep 2010 20:59:29 +0000 Subject: Initial TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/gui/widgets/AudioVUMeter.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/gui/widgets/AudioVUMeter.cpp') 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 -#include -#include -#include -#include +#include +#include +#include +#include +#include #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, -- cgit v1.2.1