summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxborderimage.h
diff options
context:
space:
mode:
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);