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/editors/segment/segmentcanvas/AudioPreviewUpdater.h | |
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/editors/segment/segmentcanvas/AudioPreviewUpdater.h')
-rw-r--r-- | src/gui/editors/segment/segmentcanvas/AudioPreviewUpdater.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/editors/segment/segmentcanvas/AudioPreviewUpdater.h b/src/gui/editors/segment/segmentcanvas/AudioPreviewUpdater.h index ffc97c9..347ba16 100644 --- a/src/gui/editors/segment/segmentcanvas/AudioPreviewUpdater.h +++ b/src/gui/editors/segment/segmentcanvas/AudioPreviewUpdater.h @@ -26,12 +26,12 @@ #ifndef _RG_AUDIOPREVIEWUPDATER_H_ #define _RG_AUDIOPREVIEWUPDATER_H_ -#include <qobject.h> -#include <qrect.h> +#include <tqobject.h> +#include <tqrect.h> #include <vector> -class QEvent; +class TQEvent; namespace Rosegarden @@ -51,15 +51,15 @@ public: AudioPreviewUpdater(AudioPreviewThread &thread, const Composition &composition, const Segment *segment, - const QRect &displayExtent, + const TQRect &displayExtent, CompositionModelImpl *parent); ~AudioPreviewUpdater(); void update(); void cancel(); - QRect getDisplayExtent() const { return m_rect; } - void setDisplayExtent(const QRect &rect) { m_rect = rect; } + TQRect getDisplayExtent() const { return m_rect; } + void setDisplayExtent(const TQRect &rect) { m_rect = rect; } const Segment *getSegment() const { return m_segment; } @@ -70,13 +70,13 @@ signals: void audioPreviewComplete(AudioPreviewUpdater*); protected: - virtual bool event(QEvent*); + virtual bool event(TQEvent*); AudioPreviewThread& m_thread; const Composition& m_composition; const Segment* m_segment; - QRect m_rect; + TQRect m_rect; bool m_showMinima; unsigned int m_channels; std::vector<float> m_values; |