mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-30 14:15:35 +08:00
refs #204 doxygen comments
This commit is contained in:
committed by
Klaus Basan
parent
86e002fff5
commit
7fae60a510
@@ -56,6 +56,9 @@ class QXPlaneMessageHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
/*!
|
||||||
|
* Install the handler.
|
||||||
|
*/
|
||||||
static void install()
|
static void install()
|
||||||
{
|
{
|
||||||
qInstallMessageHandler(handler);
|
qInstallMessageHandler(handler);
|
||||||
@@ -83,6 +86,11 @@ class QSharedApplication : public QApplication
|
|||||||
}
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
/*!
|
||||||
|
* Returns a shared pointer to the QApplication.
|
||||||
|
*
|
||||||
|
* The QApplication will not be destroyed while this shared pointer exists.
|
||||||
|
*/
|
||||||
static QSharedPointer<QApplication> sharedInstance()
|
static QSharedPointer<QApplication> sharedInstance()
|
||||||
{
|
{
|
||||||
QSharedPointer<QApplication> ptr;
|
QSharedPointer<QApplication> ptr;
|
||||||
@@ -125,6 +133,10 @@ class QXPlaneEventLoop : public QObject
|
|||||||
}
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
/*!
|
||||||
|
* Registers the X-Plane callback which calls into the Qt event loop,
|
||||||
|
* unless one was already registered.
|
||||||
|
*/
|
||||||
static void exec()
|
static void exec()
|
||||||
{
|
{
|
||||||
if (! QApplication::instance()->findChild<QXPlaneEventLoop *>())
|
if (! QApplication::instance()->findChild<QXPlaneEventLoop *>())
|
||||||
|
|||||||
Reference in New Issue
Block a user