diff options
author | Ivan Tkachenko <me@ratijas.tk> | 2023-09-01 21:01:15 +0300 |
---|---|---|
committer | Ivan Tkachenko <me@ratijas.tk> | 2023-09-04 15:49:30 +0300 |
commit | 94d68a941059341296fb329bcde68d437ef60bfa (patch) | |
tree | a2355dd0edcbeb08405e3d7d1480616d909e67d0 /src/qml/qml/qqmlglobal_p.h | |
parent | 82f6e02e526e2b51839855bd11f013f463a83d4e (diff) |
Doc: Be transparent about what type of entity qmlobject_connect is
Both things are not methods, and of course can not be used as such.
Change-Id: Iadaa0841ff627ad6705c66f50e7ee57aa93fb042
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlglobal_p.h')
-rw-r--r-- | src/qml/qml/qqmlglobal_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlglobal_p.h b/src/qml/qml/qqmlglobal_p.h index db0365f49c..b6dd2182d3 100644 --- a/src/qml/qml/qqmlglobal_p.h +++ b/src/qml/qml/qqmlglobal_p.h @@ -49,7 +49,7 @@ T qmlGetConfigOption(const char *var) Connect \a Signal of \a Sender to \a Method of \a Receiver. \a Signal must be of type \a SenderType and \a Receiver of type \a ReceiverType. - Unlike QObject::connect(), this method caches the lookup of the signal and method + Unlike QObject::connect(), this macro caches the lookup of the signal and method indexes. It also does not require lazy QMetaObjects to be built so should be preferred in all QML code that might interact with QML built objects. @@ -88,7 +88,7 @@ do { \ Disconnect \a Signal of \a Sender from \a Method of \a Receiver. \a Signal must be of type \a SenderType and \a Receiver of type \a ReceiverType. - Unlike QObject::disconnect(), this method caches the lookup of the signal and method + Unlike QObject::disconnect(), this macro caches the lookup of the signal and method indexes. It also does not require lazy QMetaObjects to be built so should be preferred in all QML code that might interact with QML built objects. |