diff options
Diffstat (limited to 'kradio3/plugins/recording/soundstreamevent.h')
-rw-r--r-- | kradio3/plugins/recording/soundstreamevent.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kradio3/plugins/recording/soundstreamevent.h b/kradio3/plugins/recording/soundstreamevent.h index 0cf6cdd..c7b986e 100644 --- a/kradio3/plugins/recording/soundstreamevent.h +++ b/kradio3/plugins/recording/soundstreamevent.h @@ -22,20 +22,20 @@ #include <config.h> #endif -#include <qevent.h> +#include <tqevent.h> #include "../../src/include/sound_metadata.h" -const QEvent::Type EncodingTerminated = (QEvent::Type)(QEvent::User+1); -const QEvent::Type EncodingStep = (QEvent::Type)(QEvent::User+2); +const TQEvent::Type EncodingTerminated = (TQEvent::Type)(TQEvent::User+1); +const TQEvent::Type EncodingStep = (TQEvent::Type)(TQEvent::User+2); -class SoundStreamEvent : public QEvent +class SoundStreamEvent : public TQEvent { public: - SoundStreamEvent(QEvent::Type t, SoundStreamID id) : QEvent(t), m_SSID(id) {} + SoundStreamEvent(TQEvent::Type t, SoundStreamID id) : TQEvent(t), m_SSID(id) {} const SoundStreamID &getSoundStreamID() const { return m_SSID; } - static bool isSoundStreamEvent (const QEvent *e) { return e && ((e->type() == EncodingTerminated) || (e->type() == EncodingStep)); } + static bool isSoundStreamEvent (const TQEvent *e) { return e && ((e->type() == EncodingTerminated) || (e->type() == EncodingStep)); } protected: SoundStreamID m_SSID; @@ -76,7 +76,7 @@ public: size_t size() const { return m_Size; } const SoundMetaData &metaData() const { return m_MetaData; } - static bool isSoundStreamEncodingStep (const QEvent *e) { return e && (e->type() == EncodingStep); } + static bool isSoundStreamEncodingStep (const TQEvent *e) { return e && (e->type() == EncodingStep); } protected: char *m_Data; |