refs #204 doxygen comments

This commit is contained in:
Mathew Sutcliffe
2014-04-03 17:39:51 +01:00
committed by Klaus Basan
parent 86e002fff5
commit 7fae60a510

View File

@@ -56,6 +56,9 @@ class QXPlaneMessageHandler
}
public:
/*!
* Install the handler.
*/
static void install()
{
qInstallMessageHandler(handler);
@@ -83,6 +86,11 @@ class QSharedApplication : public QApplication
}
public:
/*!
* Returns a shared pointer to the QApplication.
*
* The QApplication will not be destroyed while this shared pointer exists.
*/
static QSharedPointer<QApplication> sharedInstance()
{
QSharedPointer<QApplication> ptr;
@@ -125,6 +133,10 @@ class QXPlaneEventLoop : public QObject
}
public:
/*!
* Registers the X-Plane callback which calls into the Qt event loop,
* unless one was already registered.
*/
static void exec()
{
if (! QApplication::instance()->findChild<QXPlaneEventLoop *>())