summaryrefslogtreecommitdiffstats
path: root/src/multimedia/audio/qaudioformat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/multimedia/audio/qaudioformat.h')
-rw-r--r--src/multimedia/audio/qaudioformat.h11
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