diff options
author | Andy Shaw <andy.shaw@qt.io> | 2017-08-23 08:27:51 +0200 |
---|---|---|
committer | Andy Shaw <andy.shaw@qt.io> | 2017-08-25 08:39:45 +0000 |
commit | 2c45bdb0e2433b2246d985b61348f8caa6e5926b (patch) | |
tree | bb85709fbb461b8406c5669e239945dcdd1d5a02 /src | |
parent | 4c3246e49521b6341ddcc513814ae03e6d8f1d3e (diff) |
Update doc to clarify the slot parameter for connectNotifySignal
Change-Id: I89da2d258d6e5663d45497bd4b7fa105a11e46e7
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/qml/qml/qqmlproperty.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlproperty.cpp b/src/qml/qml/qqmlproperty.cpp index 9f1955c4d6..9a138dcf80 100644 --- a/src/qml/qml/qqmlproperty.cpp +++ b/src/qml/qml/qqmlproperty.cpp @@ -1546,6 +1546,9 @@ bool QQmlProperty::connectNotifySignal(QObject *dest, int method) const represent a regular Qt property or if it has no change notifier signal, or if the \a dest object does not have the specified \a slot. + + \note \a slot should be passed using the SLOT() macro so it is + correctly identified. */ bool QQmlProperty::connectNotifySignal(QObject *dest, const char *slot) const { |