diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2010-02-17 15:05:14 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2010-02-17 15:05:14 (GMT) |
commit | 015db206709de206dec26d8ab9536fc88ea67af6 (patch) | |
tree | 0151c0f2301cfdfe63d1564988cea7a0de551956 /doc/src/declarative/qtbinding.qdoc | |
parent | e69dbf126d0844702fc1ef356d858839c83562cf (diff) | |
download | Qt-015db206709de206dec26d8ab9536fc88ea67af6.zip Qt-015db206709de206dec26d8ab9536fc88ea67af6.tar.gz Qt-015db206709de206dec26d8ab9536fc88ea67af6.tar.bz2 |
Doc fix
Diffstat (limited to 'doc/src/declarative/qtbinding.qdoc')
-rw-r--r-- | doc/src/declarative/qtbinding.qdoc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/src/declarative/qtbinding.qdoc b/doc/src/declarative/qtbinding.qdoc index 2b427dc..fe5ccba 100644 --- a/doc/src/declarative/qtbinding.qdoc +++ b/doc/src/declarative/qtbinding.qdoc @@ -153,7 +153,7 @@ class CustomPalette : public QObject { Q_OBJECT Q_PROPERTY(QColor background READ background WRITE setBackground NOTIFY backgroundChanged) -Q_PROPERTY(QColor text READ text WRITE setText NOTIFY text) +Q_PROPERTY(QColor text READ text WRITE setText NOTIFY textChanged) public: CustomPalette() : m_background(Qt::white), m_text(Qt::black) {} @@ -172,6 +172,10 @@ public: emit textChanged(); } } +signals: + void textChanged(); + void backgroundChanged(): + private: QColor m_background; QColor m_text; |