summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlecmascript
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-01-11 06:32:53 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-01-11 06:35:18 (GMT)
commit26021de11bf8cfd3f2067466b8be97d42316b8b4 (patch)
tree3a16f21c268f343a32d6a57a374339a167890f17 /tests/auto/declarative/qmlecmascript
parentaa6ec25bdf0e69873b537e05d4511543b21f3e8a (diff)
downloadQt-26021de11bf8cfd3f2067466b8be97d42316b8b4.zip
Qt-26021de11bf8cfd3f2067466b8be97d42316b8b4.tar.gz
Qt-26021de11bf8cfd3f2067466b8be97d42316b8b4.tar.bz2
Don't use a virtual signal - moc complains.
Diffstat (limited to 'tests/auto/declarative/qmlecmascript')
-rw-r--r--tests/auto/declarative/qmlecmascript/testtypes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/declarative/qmlecmascript/testtypes.h b/tests/auto/declarative/qmlecmascript/testtypes.h
index 7c02995..b275b8a 100644
--- a/tests/auto/declarative/qmlecmascript/testtypes.h
+++ b/tests/auto/declarative/qmlecmascript/testtypes.h
@@ -168,8 +168,9 @@ public:
{
}
- virtual void valueChanged() {
+ void emitValueChanged() {
changed = true;
+ QmlExpression::emitValueChanged();
}
bool changed;
};