diff options
Diffstat (limited to 'src/corelib/doc/src/includes/qobject.qdocinc')
-rw-r--r-- | src/corelib/doc/src/includes/qobject.qdocinc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/corelib/doc/src/includes/qobject.qdocinc b/src/corelib/doc/src/includes/qobject.qdocinc new file mode 100644 index 0000000000..65630c82ee --- /dev/null +++ b/src/corelib/doc/src/includes/qobject.qdocinc @@ -0,0 +1,10 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only + +//! [disconnect-all] +\note Disconnecting all signal-slot connections will also disconnect the +\l QObject::destroyed() signal if it is connected. Doing so can adversely +affect classes that rely on this signal for cleaning up resources. It is +recommended to disconnect only the specific signals that were connected by +application code. +//! [disconnect-all] |