From b3bb9c795271e0b6a103e485873a88a395bdf9f8 Mon Sep 17 00:00:00 2001 From: Yoann Lopes Date: Tue, 3 May 2011 14:43:51 +0200 Subject: Removed unused properties in QSGPaintedItem. --- src/declarative/items/qsgpainteditem.cpp | 22 ---------------------- src/declarative/items/qsgpainteditem.h | 8 -------- 2 files changed, 30 deletions(-) diff --git a/src/declarative/items/qsgpainteditem.cpp b/src/declarative/items/qsgpainteditem.cpp index e0d63fa436..e9f4f73448 100644 --- a/src/declarative/items/qsgpainteditem.cpp +++ b/src/declarative/items/qsgpainteditem.cpp @@ -244,28 +244,6 @@ void QSGPaintedItem::setContentsScale(qreal) // XXX todo } -int QSGPaintedItem::pixelCacheSize() const -{ - // XXX todo - return 0; -} - -void QSGPaintedItem::setPixelCacheSize(int) -{ - // XXX todo -} - -bool QSGPaintedItem::smoothCache() const -{ - // XXX todo - return false; -} - -void QSGPaintedItem::setSmoothCache(bool) -{ - // XXX todo -} - /*! \property QSGPaintedItem::fillColor \brief The item's background fill color. diff --git a/src/declarative/items/qsgpainteditem.h b/src/declarative/items/qsgpainteditem.h index 85255243c2..8d4b466922 100644 --- a/src/declarative/items/qsgpainteditem.h +++ b/src/declarative/items/qsgpainteditem.h @@ -57,8 +57,6 @@ class Q_DECLARATIVE_EXPORT QSGPaintedItem : public QSGItem Q_PROPERTY(QSize contentsSize READ contentsSize WRITE setContentsSize NOTIFY contentsSizeChanged) Q_PROPERTY(QColor fillColor READ fillColor WRITE setFillColor NOTIFY fillColorChanged) - Q_PROPERTY(int pixelCacheSize READ pixelCacheSize WRITE setPixelCacheSize) - Q_PROPERTY(bool smoothCache READ smoothCache WRITE setSmoothCache) Q_PROPERTY(qreal contentsScale READ contentsScale WRITE setContentsScale NOTIFY contentsScaleChanged) Q_PROPERTY(RenderTarget renderTarget READ renderTarget WRITE setRenderTarget NOTIFY renderTargetChanged) public: @@ -85,12 +83,6 @@ public: qreal contentsScale() const; void setContentsScale(qreal); - int pixelCacheSize() const; - void setPixelCacheSize(int pixels); - - bool smoothCache() const; - void setSmoothCache(bool on); - QColor fillColor() const; void setFillColor(const QColor&); -- cgit v1.2.3