summaryrefslogtreecommitdiffstats
path: root/demos/spectrum/app/tonegenerator.h
diff options
context:
space:
mode:
authorck <qt-info@nokia.com>2010-05-20 09:29:20 (GMT)
committerck <qt-info@nokia.com>2010-05-20 09:30:09 (GMT)
commita41534cbabd0aee90c38b9a1a133835863a7f54b (patch)
treedbb4770e0a88587d6cbaf9033b17f8ef65742599 /demos/spectrum/app/tonegenerator.h
parenta72c6f403435e5cc7aff501b1e1ee990dfb24969 (diff)
downloadQt-a41534cbabd0aee90c38b9a1a133835863a7f54b.zip
Qt-a41534cbabd0aee90c38b9a1a133835863a7f54b.tar.gz
Qt-a41534cbabd0aee90c38b9a1a133835863a7f54b.tar.bz2
Examples: Fix compilation with namespace.
Diffstat (limited to 'demos/spectrum/app/tonegenerator.h')
-rw-r--r--demos/spectrum/app/tonegenerator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/spectrum/app/tonegenerator.h b/demos/spectrum/app/tonegenerator.h
index 419f7e4..d387768 100644
--- a/demos/spectrum/app/tonegenerator.h
+++ b/demos/spectrum/app/tonegenerator.h
@@ -41,8 +41,10 @@
#include <QtCore/qglobal.h>
#include "spectrum.h"
+QT_BEGIN_NAMESPACE
class QAudioFormat;
class QByteArray;
+QT_END_NAMESPACE
/**
* Generate a sine wave