diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/kernel/qobject.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/corelib/kernel/qobject.cpp b/src/corelib/kernel/qobject.cpp index b749e3916c..6cc0a9a4e7 100644 --- a/src/corelib/kernel/qobject.cpp +++ b/src/corelib/kernel/qobject.cpp @@ -4738,9 +4738,8 @@ void qDeleteInEventHandler(QObject *o) The signal must be a function declared as a signal in the header. The slot function can be any function or functor that can be connected to the signal. - A function can be connected to a given signal if the signal has at - least as many argument as the slot. A functor can be connected to a signal - if they have exactly the same number of arguments. There must exist implicit + A slot function can be connected to a given signal if the signal has at + least as many arguments as the slot function. There must exist implicit conversion between the types of the corresponding arguments in the signal and the slot. @@ -4778,9 +4777,8 @@ void qDeleteInEventHandler(QObject *o) The signal must be a function declared as a signal in the header. The slot function can be any function or functor that can be connected to the signal. - A function can be connected to a given signal if the signal has at - least as many argument as the slot. A functor can be connected to a signal - if they have exactly the same number of arguments. There must exist implicit + A slot function can be connected to a given signal if the signal has at + least as many arguments as the slot function. There must exist implicit conversion between the types of the corresponding arguments in the signal and the slot. |