aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoann Lopes <yoann.lopes@nokia.com>2011-05-03 14:43:51 +0200
committerYoann Lopes <yoann.lopes@nokia.com>2011-05-03 14:43:51 +0200
commitb3bb9c795271e0b6a103e485873a88a395bdf9f8 (patch)
tree2611222b89fee74f66aa847462a6e41d7f4c8226
parent9267a7bce715924a96c8636a3110d90879e5927c (diff)
Removed unused properties in QSGPaintedItem.
-rw-r--r--src/declarative/items/qsgpainteditem.cpp22
-rw-r--r--src/declarative/items/qsgpainteditem.h8
2 files changed, 0 insertions, 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&);