diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2013-06-21 10:51:48 +0200 |
---|---|---|
committer | Alex <alexander.blasche@digia.com> | 2013-06-21 18:41:05 +0200 |
commit | 3a68fd3957bd02f417d83bbc113e1a9db82f7684 (patch) | |
tree | 22def076338dd230647f2933ee661285a860befa /src/bluetooth/qbluetooth.h | |
parent | 09d188e570812a370a54c4ad9821221b26948e3f (diff) |
Fix QtBluetooth documentation
Task-number: QTBUG-31913
Change-Id: Ia466c40801994f402b7d6a739d5d43df145c432d
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: Alex <alexander.blasche@digia.com>
Diffstat (limited to 'src/bluetooth/qbluetooth.h')
-rw-r--r-- | src/bluetooth/qbluetooth.h | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/src/bluetooth/qbluetooth.h b/src/bluetooth/qbluetooth.h index 3c3c6d31..314de6ee 100644 --- a/src/bluetooth/qbluetooth.h +++ b/src/bluetooth/qbluetooth.h @@ -47,19 +47,21 @@ QT_BEGIN_NAMESPACE_BLUETOOTH +#ifdef Q_QDOC +// workaround for QTBUG-31851 +class FakeClassForQDoc; +#endif namespace QBluetooth { -enum Security { - NoSecurity = 0x00, - Authorization = 0x01, - Authentication = 0x02, - Encryption = 0x04, - Secure = 0x08 -}; - -Q_DECLARE_FLAGS(SecurityFlags, Security) - -Q_DECLARE_OPERATORS_FOR_FLAGS(SecurityFlags) + enum Security { + NoSecurity = 0x00, + Authorization = 0x01, + Authentication = 0x02, + Encryption = 0x04, + Secure = 0x08 + }; + Q_DECLARE_FLAGS(SecurityFlags, Security) + Q_DECLARE_OPERATORS_FOR_FLAGS(SecurityFlags) } QT_END_NAMESPACE_BLUETOOTH |