summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfximage_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/fx/qfximage_p.h')
-rw-r--r--src/declarative/fx/qfximage_p.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/declarative/fx/qfximage_p.h b/src/declarative/fx/qfximage_p.h
index b3cccf9..b5c6055 100644
--- a/src/declarative/fx/qfximage_p.h
+++ b/src/declarative/fx/qfximage_p.h
@@ -72,9 +72,9 @@ class QFxImagePrivate : public QFxItemPrivate
public:
QFxImagePrivate()
- : _scaleGrid(0), _tiled(false), _smooth(false), _opaque(false),
+ : scaleGrid(0), tiled(false), smooth(false), opaque(false),
#if defined(QFX_RENDER_OPENGL)
- _texDirty(true),
+ texDirty(true),
#endif
status(QFxImage::Idle), sciReply(0), progress(0.0)
{
@@ -82,27 +82,27 @@ public:
~QFxImagePrivate()
{
- delete _scaleGrid;
+ delete scaleGrid;
}
void setContent(QIODevice* dev, const QString &url);
- QFxScaleGrid *scaleGrid()
+ QFxScaleGrid *getScaleGrid()
{
- if (!_scaleGrid)
- _scaleGrid = new QFxScaleGrid;
- return _scaleGrid;
+ if (!scaleGrid)
+ scaleGrid = new QFxScaleGrid;
+ return scaleGrid;
}
- QFxScaleGrid *_scaleGrid;
- QPixmap _pix;
- bool _tiled : 1;
- bool _smooth : 1;
- bool _opaque : 1;
+ QFxScaleGrid *scaleGrid;
+ QPixmap pix;
+ bool tiled : 1;
+ bool smooth : 1;
+ bool opaque : 1;
#if defined(QFX_RENDER_OPENGL)
+ bool texDirty : 1;
void checkDirty();
- bool _texDirty;
- GLTexture _tex;
+ GLTexture tex;
#endif
QFxImage::Status status;