summaryrefslogtreecommitdiffstats
path: root/demos/spectrum/app/spectrograph.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/spectrograph.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/spectrograph.h')
-rw-r--r--demos/spectrum/app/spectrograph.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/spectrum/app/spectrograph.h b/demos/spectrum/app/spectrograph.h
index 45db244..ce59d90 100644
--- a/demos/spectrum/app/spectrograph.h
+++ b/demos/spectrum/app/spectrograph.h
@@ -44,7 +44,7 @@
#include <QWidget>
#include "frequencyspectrum.h"
-class QMouseEvent;
+QT_FORWARD_DECLARE_CLASS(QMouseEvent)
/**
* Widget which displays a spectrograph showing the frequency spectrum