Document qGuiApp and tweap qApp
Change-Id: I2cd865da0e081251a2702c11cb83dde35444693a Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
parent
b9af823ef7
commit
e8b55a6d2a
@ -344,6 +344,16 @@ void QWindowGeometrySpecification::applyTo(QWindow *window) const
|
||||
|
||||
static QWindowGeometrySpecification windowGeometrySpecification = Q_WINDOW_GEOMETRY_SPECIFICATION_INITIALIZER;
|
||||
|
||||
/*!
|
||||
\macro qGuiApp
|
||||
\relates QGuiApplication
|
||||
|
||||
A global pointer referring to the unique application object.
|
||||
Only valid for use when that object is a QGuiApplication.
|
||||
|
||||
\sa QCoreApplication::instance(), qApp
|
||||
*/
|
||||
|
||||
/*!
|
||||
\class QGuiApplication
|
||||
\brief The QGuiApplication class manages the GUI application's control
|
||||
|
@ -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
|
||||
*/
|
||||
|
||||
/*!
|
||||
|
Loading…
x
Reference in New Issue
Block a user