summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/segment/segmentcanvas/AudioPreviewUpdater.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/segment/segmentcanvas/AudioPreviewUpdater.cpp')
-rw-r--r--src/gui/editors/segment/segmentcanvas/AudioPreviewUpdater.cpp16
1 files changed, 8 insertions, 8 deletions
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 <qevent.h>
-#include <qobject.h>
-#include <qrect.h>
+#include <tqevent.h>
+#include <tqobject.h>
+#include <tqrect.h>
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<QCustomEvent *>(e);
+ TQCustomEvent *ev = dynamic_cast<TQCustomEvent *>(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);
}
}