summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxborderimage.h
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-08-17 23:03:28 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-08-17 23:03:28 (GMT)
commitf76fe94068ac790cc3df60b41350bed795d42d39 (patch)
tree5073d3a5cae2a0e85809ef5fee2fdc5540cc9607 /src/declarative/fx/qfxborderimage.h
parent772944bf3888fd43ce484fc39faf9f01b4c9ae65 (diff)
downloadQt-f76fe94068ac790cc3df60b41350bed795d42d39.zip
Qt-f76fe94068ac790cc3df60b41350bed795d42d39.tar.gz
Qt-f76fe94068ac790cc3df60b41350bed795d42d39.tar.bz2
Small fixes following API review.
Diffstat (limited to 'src/declarative/fx/qfxborderimage.h')
-rw-r--r--src/declarative/fx/qfxborderimage.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/declarative/fx/qfxborderimage.h b/src/declarative/fx/qfxborderimage.h
index b0ec3bc..c6885fb 100644
--- a/src/declarative/fx/qfxborderimage.h
+++ b/src/declarative/fx/qfxborderimage.h
@@ -59,8 +59,8 @@ class Q_DECLARATIVE_EXPORT QFxBorderImage : public QFxImageBase
Q_ENUMS(TileMode)
Q_PROPERTY(QFxScaleGrid *border READ border CONSTANT)
- Q_PROPERTY(TileMode horizontalTileMode READ horizontalTileMode WRITE setHorizontalTileMode)
- Q_PROPERTY(TileMode verticalTileMode READ verticalTileMode WRITE setVerticalTileMode)
+ Q_PROPERTY(TileMode horizontalTileMode READ horizontalTileMode WRITE setHorizontalTileMode NOTIFY tileModeChanged)
+ Q_PROPERTY(TileMode verticalTileMode READ verticalTileMode WRITE setVerticalTileMode NOTIFY tileModeChanged)
public:
QFxBorderImage(QFxItem *parent=0);
@@ -79,6 +79,9 @@ public:
void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget *);
void setSource(const QUrl &url);
+signals:
+ void tileModeChanged();
+
protected:
QFxBorderImage(QFxBorderImagePrivate &dd, QFxItem *parent);