path: root/src/dbus/qdbusreply.h
diff options
authorMartin Smith <>2018-01-12 11:33:12 +0100
committerMartin Smith <>2018-01-15 15:00:58 +0000
commitbcc1eaab705834bfb6bed9b19f1b44bae10fef76 (patch)
tree4f21483986814a4139b2b360749f48f4855245ae /src/dbus/qdbusreply.h
parent85aa0fd041fbaa258f089d86f227311e53f6206a (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 <>
Diffstat (limited to 'src/dbus/qdbusreply.h')
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:
return *this = other.reply();
+#if defined(Q_CLANG_QDOC)
+ inline QDBusReply(const QDBusPendingReply &reply) { }
inline QDBusReply(const QDBusPendingReply<T> &reply)
*this = static_cast<QDBusPendingCall>(reply);
inline QDBusReply(const QDBusError &dbusError = QDBusError())
: m_error(dbusError), m_data(Type())