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 --- .../segment/segmentcanvas/AudioPreviewUpdater.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/gui/editors/segment/segmentcanvas/AudioPreviewUpdater.cpp') diff --git a/src/gui/editors/segment/segmentcanvas/AudioPreviewUpdater.cpp b/src/gui/editors/segment/segmentcanvas/AudioPreviewUpdater.cpp index 76497b9..182eb9b 100644 --- a/src/gui/editors/segment/segmentcanvas/AudioPreviewUpdater.cpp +++ b/src/gui/editors/segment/segmentcanvas/AudioPreviewUpdater.cpp @@ -31,9 +31,9 @@ #include "base/RealTime.h" #include "base/Segment.h" #include "CompositionModelImpl.h" -#include -#include -#include +#include +#include +#include namespace Rosegarden @@ -43,9 +43,9 @@ static int apuExtantCount = 0; AudioPreviewUpdater::AudioPreviewUpdater(AudioPreviewThread &thread, const Composition& c, const Segment* s, - const QRect& r, + const TQRect& r, CompositionModelImpl* parent) - : QObject(parent), + : TQObject(parent), m_thread(thread), m_composition(c), m_segment(s), @@ -100,12 +100,12 @@ void AudioPreviewUpdater::cancel() m_previewToken = -1; } -bool AudioPreviewUpdater::event(QEvent *e) +bool AudioPreviewUpdater::event(TQEvent *e) { RG_DEBUG << "AudioPreviewUpdater(" << this << ")::event (" << e << ")" << endl; if (e->type() == AudioPreviewThread::AudioPreviewReady) { - QCustomEvent *ev = dynamic_cast(e); + TQCustomEvent *ev = dynamic_cast(e); if (ev) { intptr_t token = (intptr_t)ev->data(); m_channels = 0; // to be filled as getPreview return value @@ -142,7 +142,7 @@ bool AudioPreviewUpdater::event(QEvent *e) } } - return QObject::event(e); + return TQObject::event(e); } } -- cgit v1.2.1