The following class members are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
Use QGraphicsItem::cacheMode() instead.
Use QGraphicsItem::setCacheMode() instead. Passing true to this function is equivalent to QGraphicsItem::setCacheMode(QGraphicsItem::DeviceCoordinateCache).
See also isCachingEnabled().