summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxitem_p.h
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-08-03 06:53:26 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-08-03 06:53:26 (GMT)
commit14c57306bb0d9edd6c45cd142b49896f746fe9d1 (patch)
treeb7a8eb759e553979634d2506274484cb1a13c7e1 /src/declarative/fx/qfxitem_p.h
parent018bc2baa05320c41d124785064064cd03fe8a43 (diff)
downloadQt-14c57306bb0d9edd6c45cd142b49896f746fe9d1.zip
Qt-14c57306bb0d9edd6c45cd142b49896f746fe9d1.tar.gz
Qt-14c57306bb0d9edd6c45cd142b49896f746fe9d1.tar.bz2
Move the 'smooth' property to QFxItem
Items currently using it are QFxImage, QFxText, QFxLineEdit, QFxTextEdit and QFxPaintedItem.
Diffstat (limited to 'src/declarative/fx/qfxitem_p.h')
-rw-r--r--src/declarative/fx/qfxitem_p.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/declarative/fx/qfxitem_p.h b/src/declarative/fx/qfxitem_p.h
index 674eada..b11b812 100644
--- a/src/declarative/fx/qfxitem_p.h
+++ b/src/declarative/fx/qfxitem_p.h
@@ -78,9 +78,9 @@ public:
_componentComplete(true), _keepMouse(false),
_anchorLines(0),
_stateGroup(0), origin(QFxItem::TopLeft),
- widthValid(false), heightValid(false), width(0), height(0)
+ widthValid(false), heightValid(false), width(0), height(0), smooth(false)
{}
- ~QFxItemPrivate()
+ ~QFxItemPrivate()
{ delete _anchors; }
void init(QFxItem *parent)
@@ -181,6 +181,7 @@ public:
qreal width;
qreal height;
+ bool smooth;
QPointF computeTransformOrigin() const;