summaryrefslogtreecommitdiffstats
path: root/demos/spectrum/app/mainwidget.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/mainwidget.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/mainwidget.h')
-rw-r--r--demos/spectrum/app/mainwidget.h11
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