summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qdeclarativeconnections_p.h
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-04-29 00:31:18 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-04-29 00:31:18 (GMT)
commit44708167042e95ab4b5cfef8a19a9ab4f9484a71 (patch)
treeb5b710dd4c9e5ee42e90e3ab6b4a9a5ed1a6080a /src/declarative/util/qdeclarativeconnections_p.h
parentc7e48e0ff2b49856e62379845731defd21d2134c (diff)
downloadQt-44708167042e95ab4b5cfef8a19a9ab4f9484a71.zip
Qt-44708167042e95ab4b5cfef8a19a9ab4f9484a71.tar.gz
Qt-44708167042e95ab4b5cfef8a19a9ab4f9484a71.tar.bz2
Stricter (but controllable) error reporting on Connections signal-name error. And test.
Diffstat (limited to 'src/declarative/util/qdeclarativeconnections_p.h')
-rw-r--r--src/declarative/util/qdeclarativeconnections_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/declarative/util/qdeclarativeconnections_p.h b/src/declarative/util/qdeclarativeconnections_p.h
index 3eacf12..b51899e 100644
--- a/src/declarative/util/qdeclarativeconnections_p.h
+++ b/src/declarative/util/qdeclarativeconnections_p.h
@@ -65,6 +65,7 @@ class Q_DECLARATIVE_EXPORT QDeclarativeConnections : public QObject, public QDec
Q_INTERFACES(QDeclarativeParserStatus)
Q_PROPERTY(QObject *target READ target WRITE setTarget NOTIFY targetChanged)
+ Q_PROPERTY(bool ignoreUnknownSignals READ ignoreUnknownSignals WRITE setIgnoreUnknownSignals)
public:
QDeclarativeConnections(QObject *parent=0);
@@ -73,6 +74,9 @@ public:
QObject *target() const;
void setTarget(QObject *);
+ bool ignoreUnknownSignals() const;
+ void setIgnoreUnknownSignals(bool ignore);
+
Q_SIGNALS:
void targetChanged();