7#include <QtDBus/qtdbusglobal.h>
8#include <QtCore/qbytearray.h>
9#include <QtCore/qhash.h>
10#include <QtCore/qglobal.h>
11#include <QtCore/qlist.h>
12#include <QtCore/qmap.h>
13#include <QtCore/qstring.h>
14#include <QtCore/qstringlist.h>
15#include <QtCore/qvariant.h>
16#include <QtDBus/qdbusextratypes.h>
68 void beginStructure();
71 { beginArray(
QMetaType(elementMetaTypeId)); }
72 void beginArray(
QMetaType elementMetaType);
74 void beginMap(
int keyMetaTypeId,
int valueMetaTypeId)
84 QString currentSignature()
const;
85 ElementType currentType()
const;
104 void beginStructure()
const;
105 void endStructure()
const;
106 void beginArray()
const;
108 void beginMap()
const;
110 void beginMapEntry()
const;
111 void endMapEntry()
const;
136 if (
v.metaType() == QMetaType::fromType<QDBusArgument>())
137 return qdbus_cast<T>(qvariant_cast<QDBusArgument>(
v));
139 return qvariant_cast<T>(
v);
147 return item.variant();
151 return qdbus_cast<QDBusVariant>(
v).variant();
157#ifndef QDBUS_NO_SPECIALTYPES
193template<
template <
typename>
class Container,
typename T,
194 typename =
typename Container<T>::iterator>
197 arg.beginArray(QMetaType::fromType<T>());
198 typename Container<T>::const_iterator
it =
list.
begin();
199 typename Container<T>::const_iterator
end =
list.
end();
206template<
template <
typename>
class Container,
typename T,
207 typename =
typename Container<T>::iterator>
212 while (!
arg.atEnd()) {
224 arg.beginArray(QMetaType::fromType<QDBusVariant>());
232template <
template <
typename,
typename>
class Container,
typename Key,
typename T,
236 arg.beginMap(QMetaType::fromType<Key>(), QMetaType::fromType<T>());
248template <
template <
typename,
typename>
class Container,
typename Key,
typename T,
252 arg.beginMap(QMetaType::fromType<Key>(), QMetaType::fromType<T>());
257 arg <<
it->first <<
it->second;
264template <
template <
typename,
typename>
class Container,
typename Key,
typename T,
270 while (!
arg.atEnd()) {
284 arg.beginMap(QMetaType::fromType<QString>(), QMetaType::fromType<QDBusVariant>());
296 arg.beginMap(QMetaType::fromType<QString>(), QMetaType::fromType<QDBusVariant>());
306template <
typename T1,
typename T2>
309 arg.beginStructure();
310 arg << pair.first << pair.second;
315template <
typename T1,
typename T2>
318 arg.beginStructure();
319 arg >> pair.first >> pair.second;
QDBusArgument & operator=(QDBusArgument &&other) noexcept
void swap(QDBusArgument &other) noexcept
Swaps this QDBusArgument instance with other.
void beginArray(int elementMetaTypeId)
QDBusArgument(QDBusArgument &&other) noexcept
void beginMap(int keyMetaTypeId, int valueMetaTypeId)
\inmodule QtCore\reentrant
\inmodule QtCore \reentrant
void push_back(parameter_type t)
iterator insert(const Key &key, const T &value)
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
\macro QT_RESTRICTED_CAST_FROM_ASCII
\inmodule QtCore \reentrant
QMap< QString, QString > map
[6]
QSet< QString >::iterator it
Combined button and popup list for selecting options.
std::enable_if_t< qxp::is_detected_v< KeyAndValueTest, Iterator >, bool > IfAssociativeIteratorHasKeyAndValue
std::enable_if_t< qxp::is_detected_v< FirstAndSecondTest, Iterator >, bool > IfAssociativeIteratorHasFirstAndSecond
std::pair< T1, T2 > QPair
QVariant qdbus_cast< QVariant >(const QDBusArgument &arg)
QT_END_NAMESPACE QT_BEGIN_NAMESPACE T qdbus_cast(const QDBusArgument &arg)
Q_DBUS_EXPORT QDBusArgument & operator<<(QDBusArgument &a, const QDate &date)
Q_DBUS_EXPORT const QDBusArgument & operator>>(const QDBusArgument &a, QVariant &v)
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
static void appendVariant(QCborContainerPrivate *d, const QVariant &variant)
GLsizei const GLfloat * v
[13]
GLboolean GLboolean GLboolean GLboolean a
[7]
GLenum GLuint GLintptr GLsizeiptr size
[1]
constexpr void qt_ptr_swap(T *&lhs, T *&rhs) noexcept