aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports
diff options
context:
space:
mode:
authorCharles Yin <charles.yin@nokia.com>2011-08-08 10:12:27 +1000
committerQt by Nokia <qt-info@nokia.com>2011-08-08 03:37:54 +0200
commitbcff5043071b5ed349528e38d8c651a73c543a2b (patch)
tree551fba0615df20d62502973f1b6c83a8dc00ab2e /src/imports
parent16fc17f9eb7d5bef0f545feefdd12dd54c20b89b (diff)
add dummy notify signals to remove warnings
Change-Id: Id8eca4ca2d72a1b3a4293d6ed19ef7f3fdb02d37 Reviewed-on: http://codereview.qt.nokia.com/2712 Reviewed-by: Charles Yin <charles.yin@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Diffstat (limited to 'src/imports')
-rw-r--r--src/imports/testlib/main.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/imports/testlib/main.cpp b/src/imports/testlib/main.cpp
index db0a029a9a..c12b9423a9 100644
--- a/src/imports/testlib/main.cpp
+++ b/src/imports/testlib/main.cpp
@@ -58,8 +58,8 @@ QML_DECLARE_TYPE(QuickTestEvent)
class QuickTestUtil : public QObject
{
Q_OBJECT
- Q_PROPERTY(bool printAvailableFunctions READ printAvailableFunctions)
- Q_PROPERTY(bool wrapper READ wrapper)
+ Q_PROPERTY(bool printAvailableFunctions READ printAvailableFunctions NOTIFY printAvailableFunctionsChanged)
+ Q_PROPERTY(bool wrapper READ wrapper NOTIFY wrapperChanged)
public:
QuickTestUtil(QObject *parent = 0)
:QObject(parent)
@@ -75,7 +75,9 @@ public:
{
return true;
}
-
+Q_SIGNALS:
+ void printAvailableFunctionsChanged();
+ void wrapperChanged();
public Q_SLOTS:
QDeclarativeV8Handle typeName(const QVariant& v) const