diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
commit | 11f31c37e5fa4889d9989f10272f44845449cb7b (patch) | |
tree | 4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/widgets/AudioVUMeter.cpp | |
parent | 832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff) | |
download | rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.tar.gz rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.zip |
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/widgets/AudioVUMeter.cpp')
-rw-r--r-- | src/gui/widgets/AudioVUMeter.cpp | 20 |
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, |