Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qdbusargument.h File Reference

(400426acb2955447704821ab03df502dd5705be2)

#include <QtDBus/qtdbusglobal.h>
#include <QtCore/qbytearray.h>
#include <QtCore/qhash.h>
#include <QtCore/qglobal.h>
#include <QtCore/qlist.h>
#include <QtCore/qmap.h>
#include <QtCore/qstring.h>
#include <QtCore/qstringlist.h>
#include <QtCore/qvariant.h>
#include <QtDBus/qdbusextratypes.h>
+ Include dependency graph for qdbusargument.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QDBusArgument
 \inmodule QtDBus More...
 

Functions

template<typename T >
QT_END_NAMESPACE QT_BEGIN_NAMESPACEqdbus_cast (const QDBusArgument &arg)
 
template<typename T >
qdbus_cast (const QVariant &v)
 
template<>
QVariant qdbus_cast< QVariant > (const QDBusArgument &arg)
 
template<>
QVariant qdbus_cast< QVariant > (const QVariant &v)
 
Q_DBUS_EXPORT const QDBusArgumentoperator>> (const QDBusArgument &a, QVariant &v)
 
Q_DBUS_EXPORT const QDBusArgumentoperator>> (const QDBusArgument &a, QDate &date)
 
Q_DBUS_EXPORT QDBusArgumentoperator<< (QDBusArgument &a, const QDate &date)
 
Q_DBUS_EXPORT const QDBusArgumentoperator>> (const QDBusArgument &a, QTime &time)
 
Q_DBUS_EXPORT QDBusArgumentoperator<< (QDBusArgument &a, const QTime &time)
 
Q_DBUS_EXPORT const QDBusArgumentoperator>> (const QDBusArgument &a, QDateTime &dt)
 
Q_DBUS_EXPORT QDBusArgumentoperator<< (QDBusArgument &a, const QDateTime &dt)
 
Q_DBUS_EXPORT const QDBusArgumentoperator>> (const QDBusArgument &a, QRect &rect)
 
Q_DBUS_EXPORT QDBusArgumentoperator<< (QDBusArgument &a, const QRect &rect)
 
Q_DBUS_EXPORT const QDBusArgumentoperator>> (const QDBusArgument &a, QRectF &rect)
 
Q_DBUS_EXPORT QDBusArgumentoperator<< (QDBusArgument &a, const QRectF &rect)
 
Q_DBUS_EXPORT const QDBusArgumentoperator>> (const QDBusArgument &a, QSize &size)
 
Q_DBUS_EXPORT QDBusArgumentoperator<< (QDBusArgument &a, const QSize &size)
 
Q_DBUS_EXPORT const QDBusArgumentoperator>> (const QDBusArgument &a, QSizeF &size)
 
Q_DBUS_EXPORT QDBusArgumentoperator<< (QDBusArgument &a, const QSizeF &size)
 
Q_DBUS_EXPORT const QDBusArgumentoperator>> (const QDBusArgument &a, QPoint &pt)
 
Q_DBUS_EXPORT QDBusArgumentoperator<< (QDBusArgument &a, const QPoint &pt)
 
Q_DBUS_EXPORT const QDBusArgumentoperator>> (const QDBusArgument &a, QPointF &pt)
 
Q_DBUS_EXPORT QDBusArgumentoperator<< (QDBusArgument &a, const QPointF &pt)
 
Q_DBUS_EXPORT const QDBusArgumentoperator>> (const QDBusArgument &a, QLine &line)
 
Q_DBUS_EXPORT QDBusArgumentoperator<< (QDBusArgument &a, const QLine &line)
 
Q_DBUS_EXPORT const QDBusArgumentoperator>> (const QDBusArgument &a, QLineF &line)
 
Q_DBUS_EXPORT QDBusArgumentoperator<< (QDBusArgument &a, const QLineF &line)
 
template<template< typename > class Container, typename T , typename = typename Container<T>::iterator>
QDBusArgumentoperator<< (QDBusArgument &arg, const Container< T > &list)
 
template<template< typename > class Container, typename T , typename = typename Container<T>::iterator>
const QDBusArgumentoperator>> (const QDBusArgument &arg, Container< T > &list)
 
QDBusArgumentoperator<< (QDBusArgument &arg, const QVariantList &list)
 
template<template< typename, typename > class Container, typename Key , typename T , QtPrivate::IfAssociativeIteratorHasKeyAndValue< typename Container< Key, T >::iterator > = true>
QDBusArgumentoperator<< (QDBusArgument &arg, const Container< Key, T > &map)
 
template<template< typename, typename > class Container, typename Key , typename T , QtPrivate::IfAssociativeIteratorHasKeyAndValue< typename Container< Key, T >::iterator > = true>
const QDBusArgumentoperator>> (const QDBusArgument &arg, Container< Key, T > &map)
 
QDBusArgumentoperator<< (QDBusArgument &arg, const QVariantMap &map)
 
QDBusArgumentoperator<< (QDBusArgument &arg, const QVariantHash &map)
 
template<typename T1 , typename T2 >
QDBusArgumentoperator<< (QDBusArgument &arg, const std::pair< T1, T2 > &pair)
 
template<typename T1 , typename T2 >
const QDBusArgumentoperator>> (const QDBusArgument &arg, std::pair< T1, T2 > &pair)
 

Function Documentation

◆ operator<<() [1/17]

Q_DBUS_EXPORT QDBusArgument & operator<< ( QDBusArgument & a,
const QDate & date )

Definition at line 1127 of file qdbusargument.cpp.

References QDBusArgument::beginStructure(), date, QDate::day(), QDate::isValid(), QDate::month(), and QDate::year().

+ Here is the call graph for this function:

◆ operator<<() [2/17]

Q_DBUS_EXPORT QDBusArgument & operator<< ( QDBusArgument & a,
const QDateTime & dt )

Definition at line 1190 of file qdbusargument.cpp.

References Qt::LocalTime, Qt::OffsetFromUTC, Q_UNLIKELY, qWarning, and Qt::UTC.

◆ operator<<() [3/17]

Q_DBUS_EXPORT QDBusArgument & operator<< ( QDBusArgument & a,
const QLine & line )

Definition at line 1335 of file qdbusargument.cpp.

References QDBusArgument::beginStructure(), and line.

+ Here is the call graph for this function:

◆ operator<<() [4/17]

Q_DBUS_EXPORT QDBusArgument & operator<< ( QDBusArgument & a,
const QLineF & line )

Definition at line 1355 of file qdbusargument.cpp.

References QDBusArgument::beginStructure(), and line.

+ Here is the call graph for this function:

◆ operator<<() [5/17]

Q_DBUS_EXPORT QDBusArgument & operator<< ( QDBusArgument & a,
const QPoint & pt )

Definition at line 1294 of file qdbusargument.cpp.

References QDBusArgument::beginStructure(), QPoint::x(), and QPoint::y().

+ Here is the call graph for this function:

◆ operator<<() [6/17]

Q_DBUS_EXPORT QDBusArgument & operator<< ( QDBusArgument & a,
const QPointF & pt )

Definition at line 1315 of file qdbusargument.cpp.

References QDBusArgument::beginStructure(), QPointF::x(), and QPointF::y().

+ Here is the call graph for this function:

◆ operator<<() [7/17]

Q_DBUS_EXPORT QDBusArgument & operator<< ( QDBusArgument & a,
const QRect & rect )

Definition at line 1217 of file qdbusargument.cpp.

References QDBusArgument::beginStructure(), and rect.

+ Here is the call graph for this function:

◆ operator<<() [8/17]

Q_DBUS_EXPORT QDBusArgument & operator<< ( QDBusArgument & a,
const QRectF & rect )

Definition at line 1237 of file qdbusargument.cpp.

References QDBusArgument::beginStructure(), and rect.

+ Here is the call graph for this function:

◆ operator<<() [9/17]

Q_DBUS_EXPORT QDBusArgument & operator<< ( QDBusArgument & a,
const QSize & size )

Definition at line 1255 of file qdbusargument.cpp.

References QDBusArgument::beginStructure().

+ Here is the call graph for this function:

◆ operator<<() [10/17]

Q_DBUS_EXPORT QDBusArgument & operator<< ( QDBusArgument & a,
const QSizeF & size )

Definition at line 1276 of file qdbusargument.cpp.

References QDBusArgument::beginStructure().

+ Here is the call graph for this function:

◆ operator<<() [11/17]

Q_DBUS_EXPORT QDBusArgument & operator<< ( QDBusArgument & a,
const QTime & time )

Definition at line 1152 of file qdbusargument.cpp.

References QDBusArgument::beginStructure(), QTime::hour(), QTime::isValid(), QTime::minute(), QTime::msec(), QTime::second(), and time.

+ Here is the call graph for this function:

◆ operator<<() [12/17]

template<template< typename, typename > class Container, typename Key , typename T , QtPrivate::IfAssociativeIteratorHasKeyAndValue< typename Container< Key, T >::iterator > = true>
QDBusArgument & operator<< ( QDBusArgument & arg,
const Container< Key, T > & map )
inline

Definition at line 234 of file qdbusargument.h.

References arg, QMap< Key, T >::begin(), QMap< Key, T >::end(), it, and map.

+ Here is the call graph for this function:

◆ operator<<() [13/17]

template<template< typename > class Container, typename T , typename = typename Container<T>::iterator>
QDBusArgument & operator<< ( QDBusArgument & arg,
const Container< T > & list )
inline

Definition at line 195 of file qdbusargument.h.

References arg, QList< T >::begin(), QList< T >::end(), it, and list.

+ Here is the call graph for this function:

◆ operator<<() [14/17]

QDBusArgument & operator<< ( QDBusArgument & arg,
const QVariantHash & map )
inline

Definition at line 294 of file qdbusargument.h.

References arg, QMap< Key, T >::asKeyValueRange(), and map.

+ Here is the call graph for this function:

◆ operator<<() [15/17]

QDBusArgument & operator<< ( QDBusArgument & arg,
const QVariantList & list )
inline

Definition at line 222 of file qdbusargument.h.

References arg, and list.

◆ operator<<() [16/17]

QDBusArgument & operator<< ( QDBusArgument & arg,
const QVariantMap & map )
inline

Definition at line 282 of file qdbusargument.h.

References arg, QMap< Key, T >::asKeyValueRange(), and map.

+ Here is the call graph for this function:

◆ operator<<() [17/17]

template<typename T1 , typename T2 >
QDBusArgument & operator<< ( QDBusArgument & arg,
const std::pair< T1, T2 > & pair )
inline

Definition at line 307 of file qdbusargument.h.

References arg.

◆ operator>>() [1/15]

Q_DBUS_EXPORT const QDBusArgument & operator>> ( const QDBusArgument & a,
QDate & date )

Definition at line 1113 of file qdbusargument.cpp.

References QDBusArgument::beginStructure(), d, date, and QDate::setDate().

+ Here is the call graph for this function:

◆ operator>>() [2/15]

Q_DBUS_EXPORT const QDBusArgument & operator>> ( const QDBusArgument & a,
QDateTime & dt )

◆ operator>>() [3/15]

Q_DBUS_EXPORT const QDBusArgument & operator>> ( const QDBusArgument & a,
QLine & line )

Definition at line 1324 of file qdbusargument.cpp.

References line, p1, and p2.

◆ operator>>() [4/15]

Q_DBUS_EXPORT const QDBusArgument & operator>> ( const QDBusArgument & a,
QLineF & line )

Definition at line 1344 of file qdbusargument.cpp.

References line, p1, and p2.

◆ operator>>() [5/15]

Q_DBUS_EXPORT const QDBusArgument & operator>> ( const QDBusArgument & a,
QPoint & pt )

Definition at line 1285 of file qdbusargument.cpp.

References QDBusArgument::beginStructure(), QPoint::rx(), and QPoint::ry().

+ Here is the call graph for this function:

◆ operator>>() [6/15]

Q_DBUS_EXPORT const QDBusArgument & operator>> ( const QDBusArgument & a,
QPointF & pt )

Definition at line 1303 of file qdbusargument.cpp.

References QDBusArgument::beginStructure(), QPointF::setX(), and QPointF::setY().

+ Here is the call graph for this function:

◆ operator>>() [7/15]

Q_DBUS_EXPORT const QDBusArgument & operator>> ( const QDBusArgument & a,
QRect & rect )

Definition at line 1206 of file qdbusargument.cpp.

References QDBusArgument::beginStructure(), and rect.

+ Here is the call graph for this function:

◆ operator>>() [8/15]

Q_DBUS_EXPORT const QDBusArgument & operator>> ( const QDBusArgument & a,
QRectF & rect )

Definition at line 1226 of file qdbusargument.cpp.

References QDBusArgument::beginStructure(), and rect.

+ Here is the call graph for this function:

◆ operator>>() [9/15]

Q_DBUS_EXPORT const QDBusArgument & operator>> ( const QDBusArgument & a,
QSize & size )

Definition at line 1246 of file qdbusargument.cpp.

References QDBusArgument::beginStructure().

+ Here is the call graph for this function:

◆ operator>>() [10/15]

Q_DBUS_EXPORT const QDBusArgument & operator>> ( const QDBusArgument & a,
QSizeF & size )

Definition at line 1264 of file qdbusargument.cpp.

References QDBusArgument::beginStructure().

+ Here is the call graph for this function:

◆ operator>>() [11/15]

Q_DBUS_EXPORT const QDBusArgument & operator>> ( const QDBusArgument & a,
QTime & time )

Definition at line 1138 of file qdbusargument.cpp.

References QDBusArgument::beginStructure(), QTime::setHMS(), and time.

+ Here is the call graph for this function:

◆ operator>>() [12/15]

Q_DBUS_EXPORT const QDBusArgument & operator>> ( const QDBusArgument & a,
QVariant & v )

Definition at line 1103 of file qdbusargument.cpp.

References QDBusVariant::variant().

+ Here is the call graph for this function:

◆ operator>>() [13/15]

template<template< typename, typename > class Container, typename Key , typename T , QtPrivate::IfAssociativeIteratorHasKeyAndValue< typename Container< Key, T >::iterator > = true>
const QDBusArgument & operator>> ( const QDBusArgument & arg,
Container< Key, T > & map )
inline

Definition at line 266 of file qdbusargument.h.

References arg, QMap< Key, T >::clear(), QMap< Key, T >::insert(), Key, and map.

+ Here is the call graph for this function:

◆ operator>>() [14/15]

template<template< typename > class Container, typename T , typename = typename Container<T>::iterator>
const QDBusArgument & operator>> ( const QDBusArgument & arg,
Container< T > & list )
inline

Definition at line 208 of file qdbusargument.h.

References arg, QList< T >::clear(), item, list, and QList< T >::push_back().

+ Here is the call graph for this function:

◆ operator>>() [15/15]

template<typename T1 , typename T2 >
const QDBusArgument & operator>> ( const QDBusArgument & arg,
std::pair< T1, T2 > & pair )
inline

Definition at line 316 of file qdbusargument.h.

References arg.

◆ qdbus_cast() [1/2]

template<typename T >
QT_END_NAMESPACE QT_BEGIN_NAMESPACE T qdbus_cast ( const QDBusArgument & arg)
related

Definition at line 127 of file qdbusargument.h.

◆ qdbus_cast() [2/2]

template<typename T >
T qdbus_cast ( const QVariant & v)
inline

Definition at line 134 of file qdbusargument.h.

◆ qdbus_cast< QVariant >() [1/2]

template<>
QVariant qdbus_cast< QVariant > ( const QDBusArgument & arg)
inline

Definition at line 143 of file qdbusargument.h.

References arg, and item.

◆ qdbus_cast< QVariant >() [2/2]

template<>
QVariant qdbus_cast< QVariant > ( const QVariant & v)
inline

Definition at line 149 of file qdbusargument.h.