diff options
author | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-05-25 15:33:44 (GMT) |
---|---|---|
committer | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-05-25 15:33:44 (GMT) |
commit | b105d39e12c22321e06a6c4d9e8e05aaf92036bd (patch) | |
tree | f03c99782ec479f29acdf3011acd7c3e7a726d81 /demos/spectrum/app/mainwidget.h | |
parent | d0f2abcdd58af4afbb75763953fb2f14688360c4 (diff) | |
download | Qt-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/mainwidget.h')
-rw-r--r-- | demos/spectrum/app/mainwidget.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/demos/spectrum/app/mainwidget.h b/demos/spectrum/app/mainwidget.h index 86a47e6..ddab8b7 100644 --- a/demos/spectrum/app/mainwidget.h +++ b/demos/spectrum/app/mainwidget.h @@ -53,11 +53,12 @@ class Waveform; class LevelMeter; class SettingsDialog; class ToneGeneratorDialog; -class QAudioFormat; -class QLabel; -class QPushButton; -class QMenu; -class QAction; + +QT_FORWARD_DECLARE_CLASS(QAudioFormat) +QT_FORWARD_DECLARE_CLASS(QLabel) +QT_FORWARD_DECLARE_CLASS(QPushButton) +QT_FORWARD_DECLARE_CLASS(QMenu) +QT_FORWARD_DECLARE_CLASS(QAction) /** * Main application widget, responsible for connecting the various UI |