diff options
author | Michael Goddard <michael.goddard@nokia.com> | 2011-11-01 12:46:48 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-02 02:38:02 +0100 |
commit | 7dfb883df639f8d80cec7bd2c51eb37561bc4522 (patch) | |
tree | 96fd66844a9733a354d7890bd3d71ba6c326fe23 /src/multimedia/audio/qaudioformat.h | |
parent | 6a3a442ea6326ca5e94bd214ad4c88a9f9ec84f3 (diff) |
Declare more metatypes and debug operators.
Nearly all of the multimedia metatypes used in the auto tests are
now declared properly, and a large number of the types have debug
operators as well.
Removed the superfluous decls as well.
Change-Id: I42cfe37562db0c71d9811b4577fc326a3326ccc9
Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
Diffstat (limited to 'src/multimedia/audio/qaudioformat.h')
-rw-r--r-- | src/multimedia/audio/qaudioformat.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/multimedia/audio/qaudioformat.h b/src/multimedia/audio/qaudioformat.h index 087a16a9d..5d2387ef0 100644 --- a/src/multimedia/audio/qaudioformat.h +++ b/src/multimedia/audio/qaudioformat.h @@ -55,8 +55,6 @@ QT_BEGIN_NAMESPACE QT_MODULE(Multimedia) - - class QAudioFormatPrivate; class Q_MULTIMEDIA_EXPORT QAudioFormat @@ -101,9 +99,18 @@ private: QSharedDataPointer<QAudioFormatPrivate> d; }; +#ifndef QT_NO_DEBUG_STREAM +Q_MULTIMEDIA_EXPORT QDebug operator<<(QDebug, const QAudioFormat &); +Q_MULTIMEDIA_EXPORT QDebug operator<<(QDebug, QAudioFormat::SampleType); +Q_MULTIMEDIA_EXPORT QDebug operator<<(QDebug, QAudioFormat::Endian); +#endif QT_END_NAMESPACE +Q_DECLARE_METATYPE(QAudioFormat) +Q_DECLARE_METATYPE(QAudioFormat::SampleType) +Q_DECLARE_METATYPE(QAudioFormat::Endian) + QT_END_HEADER #endif // QAUDIOFORMAT_H |