summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsitem_p.h
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2009-11-05 14:39:17 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2009-11-06 12:16:49 (GMT)
commit19d24c867bfb7b95562e8658b0c795dc0296ba80 (patch)
tree6afd319aeaf09caeb5674e45ef926eebf2c5911e /src/gui/graphicsview/qgraphicsitem_p.h
parentb042eceda6ab46a7e651a30d68aad632791fdc3d (diff)
downloadQt-19d24c867bfb7b95562e8658b0c795dc0296ba80.zip
Qt-19d24c867bfb7b95562e8658b0c795dc0296ba80.tar.gz
Qt-19d24c867bfb7b95562e8658b0c795dc0296ba80.tar.bz2
Fix QT_NO_GRAPHICSEFFECT
Reviewed-by: paul
Diffstat (limited to 'src/gui/graphicsview/qgraphicsitem_p.h')
-rw-r--r--src/gui/graphicsview/qgraphicsitem_p.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsitem_p.h b/src/gui/graphicsview/qgraphicsitem_p.h
index 51d2ffd..b914c5c 100644
--- a/src/gui/graphicsview/qgraphicsitem_p.h
+++ b/src/gui/graphicsview/qgraphicsitem_p.h
@@ -223,7 +223,9 @@ public:
bool discardUpdateRequest(bool ignoreClipping = false, bool ignoreVisibleBit = false,
bool ignoreDirtyBit = false, bool ignoreOpacity = false) const;
int depth() const;
+#ifndef QT_NO_GRAPHICSEFFECT
void invalidateGraphicsEffectsRecursively();
+#endif //QT_NO_GRAPHICSEFFECT
void invalidateDepthRecursively();
void resolveDepth();
void addChild(QGraphicsItem *child);
@@ -577,6 +579,7 @@ struct QGraphicsItemPaintInfo
quint32 drawItem : 1;
};
+#ifndef QT_NO_GRAPHICSEFFECT
class QGraphicsItemEffectSourcePrivate : public QGraphicsEffectSourcePrivate
{
public:
@@ -632,7 +635,7 @@ public:
QGraphicsItemPaintInfo *info;
QTransform lastEffectTransform;
};
-
+#endif //QT_NO_GRAPHICSEFFECT
/*!
Returns true if \a item1 is on top of \a item2.