summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbuspendingreply.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbus/qdbuspendingreply.h')
-rw-r--r--src/dbus/qdbuspendingreply.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dbus/qdbuspendingreply.h b/src/dbus/qdbuspendingreply.h
index 4bf574e140..4d2c3a7c5a 100644
--- a/src/dbus/qdbuspendingreply.h
+++ b/src/dbus/qdbuspendingreply.h
@@ -108,8 +108,10 @@ namespace QDBusPendingReplyTypes {
template <> struct NotVoid<void> { typedef TypeIsVoid Type; };
} // namespace QDBusPendingReplyTypes
+#ifndef Q_CLANG_QDOC
template<typename T1 = void, typename T2 = void, typename T3 = void, typename T4 = void,
typename T5 = void, typename T6 = void, typename T7 = void, typename T8 = void>
+#endif
class QDBusPendingReply:
#ifdef Q_CLANG_QDOC
public QDBusPendingCall
@@ -150,6 +152,7 @@ public:
using QDBusPendingReplyData::argumentAt;
#endif
+#ifndef Q_CLANG_QDOC
template<int Index> inline
const typename Select<Index>::Type argumentAt() const
{
@@ -157,6 +160,7 @@ public:
typedef typename Select<Index>::Type ResultType;
return qdbus_cast<ResultType>(argumentAt(Index), 0);
}
+#endif
#if defined(Q_CLANG_QDOC)
bool isFinished() const;
@@ -167,6 +171,7 @@ public:
QDBusError error() const;
QDBusMessage reply() const;
+ typedef QVariant T1;
inline T1 value() const;
inline operator T1() const;
#else