Qt Reference Documentation

Obsolete Members for QGraphicsSvgItem

The following class members are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Public Functions

bool isCachingEnabled () const (obsolete)
void setCachingEnabled ( bool caching ) (obsolete)

Member Function Documentation

bool QGraphicsSvgItem::isCachingEnabled () const

Use QGraphicsItem::cacheMode() instead.

void QGraphicsSvgItem::setCachingEnabled ( bool caching )

Use QGraphicsItem::setCacheMode() instead. Passing true to this function is equivalent to QGraphicsItem::setCacheMode(QGraphicsItem::DeviceCoordinateCache).

See also isCachingEnabled().

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.