summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-02-17 15:05:14 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-02-17 15:05:14 (GMT)
commit015db206709de206dec26d8ab9536fc88ea67af6 (patch)
tree0151c0f2301cfdfe63d1564988cea7a0de551956 /doc
parente69dbf126d0844702fc1ef356d858839c83562cf (diff)
downloadQt-015db206709de206dec26d8ab9536fc88ea67af6.zip
Qt-015db206709de206dec26d8ab9536fc88ea67af6.tar.gz
Qt-015db206709de206dec26d8ab9536fc88ea67af6.tar.bz2
Doc fix
Diffstat (limited to 'doc')
-rw-r--r--doc/src/declarative/qtbinding.qdoc6
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;