/* * This file was generated by qdbusxml2cpp version 0.8 * Command line was: qdbusxml2cpp -p DBusDisplay -c DBusDisplay org.deepin.dde.Display1.xml * * qdbusxml2cpp is Copyright (C) 2015 Digia Plc and/or its subsidiary(-ies). * * This is an auto-generated file. * This file may have been hand-edited. Look for HAND-EDIT comments * before re-generating it. */ #include "dbusdisplay.h" /* * Implementation of interface class DBusDisplay */ DBusDisplay::DBusDisplay(QObject *parent) : QDBusAbstractInterface(staticServiceName(), staticObjectPath(), staticInterfaceName(), QDBusConnection::sessionBus(), parent) { qDBusRegisterMetaType(); qDBusRegisterMetaType(); QDBusConnection::sessionBus().connect(this->service(), this->path(), "org.freedesktop.DBus.Properties", "PropertiesChanged","sa{sv}as", this, SLOT(__propertyChanged__(QDBusMessage))); } DBusDisplay::~DBusDisplay() { QDBusConnection::sessionBus().disconnect(service(), path(), "org.freedesktop.DBus.Properties", "PropertiesChanged", "sa{sv}as", this, SLOT(propertyChanged(QDBusMessage))); } QDBusArgument &operator<<(QDBusArgument &argument, const DisplayRect &rect) { argument.beginStructure(); argument << rect.x << rect.y << rect.width << rect.height; argument.endStructure(); return argument; } const QDBusArgument &operator>>(const QDBusArgument &argument, DisplayRect &rect) { argument.beginStructure(); argument >> rect.x >> rect.y >> rect.width >> rect.height; argument.endStructure(); return argument; } QDebug operator<<(QDebug deg, const DisplayRect &rect) { qDebug() << "x:" << rect.x << "y:" << rect.y << "width:" << rect.width << "height:" << rect.height; return deg; }