summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/kernel/qobject.cpp')
-rw-r--r--src/corelib/kernel/qobject.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/corelib/kernel/qobject.cpp b/src/corelib/kernel/qobject.cpp
index fb4d8ab4b50..374741cb754 100644
--- a/src/corelib/kernel/qobject.cpp
+++ b/src/corelib/kernel/qobject.cpp
@@ -2968,12 +2968,6 @@ static inline void check_and_warn_compat(const QMetaObject *sender, const QMetaM
Returns a handle to the connection that can be used to disconnect
it later.
- \a signal must be a member function decleared as a signal in \a sender.
-
- \a method must be a member function declared as a signal, slot, or
- \l{Q_INVOKABLE}{invokable} in \a receiver, that is, functions registered
- with the meta-object system.
-
You must use the \c SIGNAL() and \c SLOT() macros when specifying
the \a signal and the \a method, for example:
@@ -3261,13 +3255,6 @@ QMetaObject::Connection QObject::connect(const QObject *sender, const QMetaMetho
\a receiver. Returns \c true if the connection is successfully broken;
otherwise returns \c false.
- \a signal, if not \nullptr, must be a member function decleared as a signal
- in \a sender.
-
- \a method, if not \nullptr, must be a member function declared as a signal,
- slot, or \l{Q_INVOKABLE}{invokable} in \a receiver, that is, functions
- registered with the meta-object system.
-
A signal-slot connection is removed when either of the objects
involved are destroyed.