diff options
author | Martin Smith <martin.smith@qt.io> | 2018-01-12 11:33:12 +0100 |
---|---|---|
committer | Martin Smith <martin.smith@qt.io> | 2018-01-15 15:00:58 +0000 |
commit | bcc1eaab705834bfb6bed9b19f1b44bae10fef76 (patch) | |
tree | 4f21483986814a4139b2b360749f48f4855245ae /src/dbus/qdbusreply.h | |
parent | 85aa0fd041fbaa258f089d86f227311e53f6206a (diff) |
doc: Fix remaining qdoc warnings in QtDBus
Added many template clauses to \fn commands. Also added or
modified some uses of Q_CLANG_QDOC in some dbus include files
to work around some seriousl ugly template clauses that could
not be added to \fn commands. Also modified a few parameter
names in the documentation.
The first attempt at making this change caused syncqt to fail
to create QtDBus/QDBusPendingReply. This second attempt works.
Change-Id: I96c1fb9bcb1d9debf9409f6baf8c42e18fb9e75d
Reviewed-by: Martin Smith <martin.smith@qt.io>
Diffstat (limited to 'src/dbus/qdbusreply.h')
-rw-r--r-- | src/dbus/qdbusreply.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dbus/qdbusreply.h b/src/dbus/qdbusreply.h index 869687ac85..177b6c6e89 100644 --- a/src/dbus/qdbusreply.h +++ b/src/dbus/qdbusreply.h @@ -82,10 +82,14 @@ public: other.waitForFinished(); return *this = other.reply(); } +#if defined(Q_CLANG_QDOC) + inline QDBusReply(const QDBusPendingReply &reply) { } +#else inline QDBusReply(const QDBusPendingReply<T> &reply) { *this = static_cast<QDBusPendingCall>(reply); } +#endif inline QDBusReply(const QDBusError &dbusError = QDBusError()) : m_error(dbusError), m_data(Type()) |