diff options
Diffstat (limited to 'src/declarative/graphicsitems/qmlgraphicspainteditem_p.h')
-rw-r--r-- | src/declarative/graphicsitems/qmlgraphicspainteditem_p.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/declarative/graphicsitems/qmlgraphicspainteditem_p.h b/src/declarative/graphicsitems/qmlgraphicspainteditem_p.h index 0805330..f6bb078 100644 --- a/src/declarative/graphicsitems/qmlgraphicspainteditem_p.h +++ b/src/declarative/graphicsitems/qmlgraphicspainteditem_p.h @@ -58,9 +58,10 @@ class Q_DECLARATIVE_EXPORT QmlGraphicsPaintedItem : public QmlGraphicsItem Q_PROPERTY(QSize contentsSize READ contentsSize WRITE setContentsSize) Q_PROPERTY(QColor fillColor READ fillColor WRITE setFillColor NOTIFY fillColorChanged) - Q_PROPERTY(int cacheSize READ cacheSize WRITE setCacheSize) + Q_PROPERTY(int pixelCacheSize READ pixelCacheSize WRITE setPixelCacheSize) Q_PROPERTY(bool smoothCache READ smoothCache WRITE setSmoothCache) + public: QmlGraphicsPaintedItem(QmlGraphicsItem *parent=0); ~QmlGraphicsPaintedItem(); @@ -68,8 +69,8 @@ public: QSize contentsSize() const; void setContentsSize(const QSize &); - int cacheSize() const; - void setCacheSize(int pixels); + int pixelCacheSize() const; + void setPixelCacheSize(int pixels); bool smoothCache() const; void setSmoothCache(bool on); |