summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfximage_p.h
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-07-31 05:10:39 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-07-31 05:10:39 (GMT)
commit1af063d9aaff5d0e5e8715202baeced55bbbb0bc (patch)
tree07f350fce0def816328a9dca23f7801bd40d4d7d /src/declarative/fx/qfximage_p.h
parent510b9523339d97b8b52175ddb5a21bff706b3d7c (diff)
downloadQt-1af063d9aaff5d0e5e8715202baeced55bbbb0bc.zip
Qt-1af063d9aaff5d0e5e8715202baeced55bbbb0bc.tar.gz
Qt-1af063d9aaff5d0e5e8715202baeced55bbbb0bc.tar.bz2
tile/preservseAspect are now fillMode
as per API review
Diffstat (limited to 'src/declarative/fx/qfximage_p.h')
-rw-r--r--src/declarative/fx/qfximage_p.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/declarative/fx/qfximage_p.h b/src/declarative/fx/qfximage_p.h
index 7792dbf..a9ad054 100644
--- a/src/declarative/fx/qfximage_p.h
+++ b/src/declarative/fx/qfximage_p.h
@@ -70,8 +70,9 @@ class QFxImagePrivate : public QFxItemPrivate
public:
QFxImagePrivate()
- : scaleGrid(0), tiled(false), smooth(false), opaque(false),
- preserveAspect(false), status(QFxImage::Idle), sciReply(0),
+ : scaleGrid(0), smooth(false), opaque(false),
+ fillMode(QFxImage::Stretch),
+ status(QFxImage::Idle), sciReply(0),
progress(0.0)
{
}
@@ -92,11 +93,10 @@ public:
QFxScaleGrid *scaleGrid;
QPixmap pix;
- bool tiled : 1;
bool smooth : 1;
bool opaque : 1;
- bool preserveAspect : 1;
+ QFxImage::FillMode fillMode;
QFxImage::Status status;
QUrl url;
QUrl sciurl;