以下成員源於類 QGraphicsSvgItem 被棄用。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(棄用)
bool
|
isCachingEnabled () const |
(棄用)
void
|
setCachingEnabled (bool caching ) |
This function is deprecated. We strongly advise against using it in new code.
使用 QGraphicsItem::cacheMode () 代替。
This function is deprecated. We strongly advise against using it in new code.
使用 QGraphicsItem::setCacheMode () instead. Passing true to this function is equivalent to QGraphicsItem::setCacheMode ( QGraphicsItem::DeviceCoordinateCache ).
另請參閱 isCachingEnabled ().