diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-08-17 23:03:28 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-08-17 23:03:28 (GMT) |
commit | f76fe94068ac790cc3df60b41350bed795d42d39 (patch) | |
tree | 5073d3a5cae2a0e85809ef5fee2fdc5540cc9607 /src/declarative/fx/qfxborderimage.h | |
parent | 772944bf3888fd43ce484fc39faf9f01b4c9ae65 (diff) | |
download | Qt-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.h | 7 |
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); |