Removed unused properties in QSGPaintedItem.
authorYoann Lopes <yoann.lopes@nokia.com>
Tue, 3 May 2011 12:43:51 +0000 (14:43 +0200)
committerYoann Lopes <yoann.lopes@nokia.com>
Tue, 3 May 2011 12:43:51 +0000 (14:43 +0200)
src/declarative/items/qsgpainteditem.cpp
src/declarative/items/qsgpainteditem.h

index e0d63fa..e9f4f73 100644 (file)
@@ -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.
index 8525524..8d4b466 100644 (file)
@@ -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&);