summaryrefslogtreecommitdiffstats
path: root/demos/spectrum/app/engine.h
diff options
context:
space:
mode:
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-05-25 15:33:44 (GMT)
committerGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-05-25 15:33:44 (GMT)
commitb105d39e12c22321e06a6c4d9e8e05aaf92036bd (patch)
treef03c99782ec479f29acdf3011acd7c3e7a726d81 /demos/spectrum/app/engine.h
parentd0f2abcdd58af4afbb75763953fb2f14688360c4 (diff)
downloadQt-b105d39e12c22321e06a6c4d9e8e05aaf92036bd.zip
Qt-b105d39e12c22321e06a6c4d9e8e05aaf92036bd.tar.gz
Qt-b105d39e12c22321e06a6c4d9e8e05aaf92036bd.tar.bz2
Build fix for spectrum demo when -qtnamespace is used
Task-number: QTBUG-10881 Reviewed-by: Liang Qi
Diffstat (limited to 'demos/spectrum/app/engine.h')
-rw-r--r--demos/spectrum/app/engine.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/demos/spectrum/app/engine.h b/demos/spectrum/app/engine.h
index 21867b3..ab5ae0d 100644
--- a/demos/spectrum/app/engine.h
+++ b/demos/spectrum/app/engine.h
@@ -64,10 +64,11 @@
#include <QDir>
#endif
-class QAudioInput;
-class QAudioOutput;
class FrequencySpectrum;
-class QFile;
+
+QT_FORWARD_DECLARE_CLASS(QAudioInput)
+QT_FORWARD_DECLARE_CLASS(QAudioOutput)
+QT_FORWARD_DECLARE_CLASS(QFile)
/**
* This class interfaces with the QtMultimedia audio classes, and also with