diff options
author | Mitch Curtis <mitch.curtis@nokia.com> | 2012-07-24 11:00:02 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-25 00:59:46 +0200 |
commit | 96c5d73eca8b816aa492105e65740b3838b5a605 (patch) | |
tree | 86ce9942e41b58ad530fb1e6ea23a8a6f3506dbc /src/widgets/kernel | |
parent | b7ab608bd243e2c6448ebb5ee513709435bb5fa9 (diff) |
Document emission of commitDataRequest() signal in QApplication doc.
It is currently not clear that QApplication::commitData() emits
the commitDataRequest() signal. Users should know this if they plan
to override the default implementation.
Task-number: QTBUG-23117
Change-Id: I418af4b83795d53c9d86a2ac620c0f7c5bb9ada3
Reviewed-by: Geir Vattekar <geir.vattekar@nokia.com>
Diffstat (limited to 'src/widgets/kernel')
-rw-r--r-- | src/widgets/kernel/qapplication.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/widgets/kernel/qapplication.cpp b/src/widgets/kernel/qapplication.cpp index 08cd47037b..3fdc3e4ab9 100644 --- a/src/widgets/kernel/qapplication.cpp +++ b/src/widgets/kernel/qapplication.cpp @@ -2732,6 +2732,10 @@ QString QApplication::sessionKey() const all visible top-level widgets. If any event was rejected, the shutdown is canceled. + \note The default implementation emits the commitDataRequest() signal, + hence commitDataRequest() should be emitted when commitData() is + reimplemented. + \sa isSessionRestored(), sessionId(), saveState(), {Session Management} */ #ifndef QT_NO_SESSIONMANAGER |