summaryrefslogtreecommitdiffstats
path: root/src/gui/effects/qgraphicseffect.h
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2009-11-04 15:05:46 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2009-11-04 16:03:51 (GMT)
commitf97c1d1b60a31b1738a8c19a1dd69255b794615f (patch)
tree023039cbc0b5293af088163191144e7eee054269 /src/gui/effects/qgraphicseffect.h
parent5ff97be22a5246c11851c2c6471a0b7ee2399425 (diff)
downloadQt-f97c1d1b60a31b1738a8c19a1dd69255b794615f.zip
Qt-f97c1d1b60a31b1738a8c19a1dd69255b794615f.tar.gz
Qt-f97c1d1b60a31b1738a8c19a1dd69255b794615f.tar.bz2
Add QT_NO_GRAPHICSEFFECT
It depends on QT_NO_GRAPHICSVIEW for now, but it is possible to remove this dependency. Reviewed-by: paul
Diffstat (limited to 'src/gui/effects/qgraphicseffect.h')
-rw-r--r--src/gui/effects/qgraphicseffect.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/effects/qgraphicseffect.h b/src/gui/effects/qgraphicseffect.h
index 7335a25..5c73f4b 100644
--- a/src/gui/effects/qgraphicseffect.h
+++ b/src/gui/effects/qgraphicseffect.h
@@ -48,6 +48,7 @@
#include <QtGui/qcolor.h>
#include <QtGui/qbrush.h>
+#ifndef QT_NO_GRAPHICSEFFECT
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
@@ -302,6 +303,7 @@ private:
QT_END_NAMESPACE
QT_END_HEADER
+#endif //QT_NO_GRAPHICSEFFECT
#endif // QGRAPHICSEFFECT_H