summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsitem.h
diff options
context:
space:
mode:
authorAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-06-08 15:14:10 (GMT)
committerAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-06-09 07:43:37 (GMT)
commite8e1cdaea063dc3613b38315ca401ef55340fcbb (patch)
tree9dbb92ef264b4291c111e50bc44baaf8b62fedf0 /src/gui/graphicsview/qgraphicsitem.h
parent9ba5a561b017ec028d675627df2eda5b13e3a6fc (diff)
downloadQt-e8e1cdaea063dc3613b38315ca401ef55340fcbb.zip
Qt-e8e1cdaea063dc3613b38315ca401ef55340fcbb.tar.gz
Qt-e8e1cdaea063dc3613b38315ca401ef55340fcbb.tar.bz2
Revert "Add QGraphicsItem::itemChangeEnabled()."
This reverts commit 0fc58ca3220083b9e10f88aab2e39824c2764db3. Conflicts: src/gui/graphicsview/qgraphicsitem.cpp src/gui/graphicsview/qgraphicsitem_p.h
Diffstat (limited to 'src/gui/graphicsview/qgraphicsitem.h')
-rw-r--r--src/gui/graphicsview/qgraphicsitem.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gui/graphicsview/qgraphicsitem.h b/src/gui/graphicsview/qgraphicsitem.h
index 67b57e0..7e33c83 100644
--- a/src/gui/graphicsview/qgraphicsitem.h
+++ b/src/gui/graphicsview/qgraphicsitem.h
@@ -129,7 +129,6 @@ public:
ItemZValueHasChanged,
ItemOpacityChange,
ItemOpacityHasChanged
- // NB! Don't forget to increase d_ptr->itemChangesEnabled when adding a new entry.
};
enum CacheMode {
@@ -166,10 +165,6 @@ public:
void setFlag(GraphicsItemFlag flag, bool enabled = true);
void setFlags(GraphicsItemFlags flags);
- bool itemChangeEnabled(GraphicsItemChange change) const;
- void setItemChangeEnabled(GraphicsItemChange change, bool enabled);
- void setItemChangesEnabled(bool enabled);
-
CacheMode cacheMode() const;
void setCacheMode(CacheMode mode, const QSize &cacheSize = QSize());