Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
/*!
\internal
- \since 4.5
-
- Appends the variant \a v.
-
- \sa asVariant()
-*/
-void QDBusArgument::appendVariant(const QVariant &v)
-{
- if (QDBusArgumentPrivate::checkWrite(d))
- d->marshaller()->appendVariantInternal(v);
-}
-
-/*!
- \internal
Returns the type signature of the D-Bus type this QDBusArgument
object is currently pointing to.
*/
void beginMapEntry();
void endMapEntry();
- void appendVariant(const QVariant &v);
-
// used for de-marshalling (D-BUS -> Qt)
QString currentSignature() const;
ElementType currentType() const;
Q_ASSERT_X(Index < count() && Index >= 0, "QDBusPendingReply::argumentAt",
"Index out of bounds");
typedef typename Select<Index>::Type ResultType;
- return qdbus_cast<ResultType>(argumentAt(Index), 0);
+ return qdbus_cast<ResultType>(argumentAt(Index));
}
inline typename Select<0>::Type value() const