diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2011-05-16 10:19:02 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2011-05-16 10:19:02 +0200 |
commit | 276d60a4d6c9d1b72c4aa7df1f86e7ce9097beeb (patch) | |
tree | 73130ce8a80181fb9d234028c5057d7eb86f02ab /src/testlib/qsignalspy.qdoc | |
parent | 850b602c7a72635eb37a998089ee085d5d505c34 (diff) | |
parent | 173099696f44073441975febfa35ddfb3585e8c5 (diff) |
Merge remote branch 'origin/master' into refactor
Conflicts:
src/modules/qt_openvg.pri
src/widgets/to_be_moved/qlinecontrol_p.h
Diffstat (limited to 'src/testlib/qsignalspy.qdoc')
-rw-r--r-- | src/testlib/qsignalspy.qdoc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/testlib/qsignalspy.qdoc b/src/testlib/qsignalspy.qdoc index 0c22868852..83dcccede2 100644 --- a/src/testlib/qsignalspy.qdoc +++ b/src/testlib/qsignalspy.qdoc @@ -62,7 +62,11 @@ /*! \fn QSignalSpy::QSignalSpy(QObject *object, const char *signal) Constructs a new QSignalSpy that listens for emissions of the \a signal - from the QObject \a object. Neither \a signal nor \a object can be null. + from the QObject \a object. If QSignalSpy is not able to listen for a + valid signal (for example, because \a object is null or \a signal does + not denote a valid signal of \a object), an explanatory warning message + will be output using qWarning() and subsequent calls to \c isValid() will + return false. Example: \snippet doc/src/snippets/code/doc_src_qsignalspy.cpp 4 |