summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorAlbert Astals Cid <albert.astals@canonical.com>2016-10-19 20:22:10 +0200
committerAlbert Astals Cid <albert.astals@canonical.com>2016-10-26 12:28:57 +0000
commite8b55a6d2a6e44337b75dd0d116b1b020a437631 (patch)
treea7c1ed61aafb0e94cad6aae7e6d5a2a631727380 /src/widgets
parentb9af823ef7a4131bc61b07620e7825d757df69db (diff)
Document qGuiApp and tweap qApp
Change-Id: I2cd865da0e081251a2702c11cb83dde35444693a Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/kernel/qapplication.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/widgets/kernel/qapplication.cpp b/src/widgets/kernel/qapplication.cpp
index b64d6e2159..93ee820c98 100644
--- a/src/widgets/kernel/qapplication.cpp
+++ b/src/widgets/kernel/qapplication.cpp
@@ -4229,13 +4229,10 @@ void QApplication::beep()
\relates QApplication
A global pointer referring to the unique application object. It is
- equivalent to the pointer returned by the QCoreApplication::instance()
- function except that, in GUI applications, it is a pointer to a
- QApplication instance.
+ equivalent to QCoreApplication::instance(), but cast as a QApplication pointer,
+ so only valid when the unique application object is a QApplication.
- Only one application object can be created.
-
- \sa QCoreApplication::instance()
+ \sa QCoreApplication::instance(), qGuiApp
*/
/*!