diff options
Diffstat (limited to 'src/gui/editors/segment/segmentcanvas/AudioPreviewThread.h')
-rw-r--r-- | src/gui/editors/segment/segmentcanvas/AudioPreviewThread.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/gui/editors/segment/segmentcanvas/AudioPreviewThread.h b/src/gui/editors/segment/segmentcanvas/AudioPreviewThread.h index ae3ac81..0337346 100644 --- a/src/gui/editors/segment/segmentcanvas/AudioPreviewThread.h +++ b/src/gui/editors/segment/segmentcanvas/AudioPreviewThread.h @@ -28,14 +28,14 @@ #include "base/RealTime.h" #include <map> -#include <qevent.h> -#include <qmutex.h> -#include <qthread.h> +#include <tqevent.h> +#include <tqmutex.h> +#include <tqthread.h> #include <utility> #include <vector> -class QObject; +class TQObject; namespace Rosegarden @@ -58,7 +58,7 @@ public: RealTime audioEndTime; int width; bool showMinima; - QObject *notify; + TQObject *notify; }; virtual int requestPreview(const Request &request); @@ -66,10 +66,10 @@ public: virtual void getPreview(int token, unsigned int &channels, std::vector<float> &values); - void setEmptyQueueListener(QObject* o) { m_emptyQueueListener = o; } + void setEmptyQueueListener(TQObject* o) { m_emptyQueueListener = o; } - static const QEvent::Type AudioPreviewReady; - static const QEvent::Type AudioPreviewQueueEmpty; + static const TQEvent::Type AudioPreviewReady; + static const TQEvent::Type AudioPreviewQueueEmpty; protected: @@ -80,7 +80,7 @@ protected: int m_nextToken; bool m_exiting; - QObject* m_emptyQueueListener; + TQObject* m_emptyQueueListener; typedef std::pair<int, Request> RequestRec; typedef std::multimap<int, RequestRec> RequestQueue; @@ -90,7 +90,7 @@ protected: typedef std::map<int, ResultsPair> ResultsQueue; ResultsQueue m_results; - QMutex m_mutex; + TQMutex m_mutex; }; |