/* * This file was generated by qdbusxml2cpp version 0.8 * Command line was: qdbusxml2cpp -c DBusDock -p dbusdock com.deepin.dde.daemon.Dock.xml * * qdbusxml2cpp is Copyright (C) 2015 Digia Plc and/or its subsidiary(-ies). * * This is an auto-generated file. * Do not edit! All changes made to it will be lost. */ #ifndef DBUSDOCK_H_1465782143 #define DBUSDOCK_H_1465782143 #include #include #include #include #include #include #include #include /* * Proxy class for interface com.deepin.dde.daemon.Dock */ class DBusDock: public QDBusAbstractInterface { Q_OBJECT Q_SLOT void __propertyChanged__(const QDBusMessage& msg) { QList arguments = msg.arguments(); if (3 != arguments.count()) return; QString interfaceName = msg.arguments().at(0).toString(); if (interfaceName !="com.deepin.dde.daemon.Dock") return; QVariantMap changedProps = qdbus_cast(arguments.at(1).value()); foreach(const QString &prop, changedProps.keys()) { const QMetaObject* self = metaObject(); for (int i=self->propertyOffset(); i < self->propertyCount(); ++i) { QMetaProperty p = self->property(i); if (p.name() == prop) { Q_EMIT p.notifySignal().invoke(this); } } } } public: static inline const char *staticInterfaceName() { return "com.deepin.dde.daemon.Dock"; } public: explicit DBusDock(QObject *parent = 0); ~DBusDock(); Q_PROPERTY(uint ActiveWindow READ activeWindow NOTIFY ActiveWindowChanged) inline uint activeWindow() const { return qvariant_cast< uint >(property("ActiveWindow")); } Q_PROPERTY(int DisplayMode READ displayMode WRITE setDisplayMode NOTIFY DisplayModeChanged) inline int displayMode() const { return qvariant_cast< int >(property("DisplayMode")); } inline void setDisplayMode(int value) { setProperty("DisplayMode", QVariant::fromValue(value)); } Q_PROPERTY(QList Entries READ entries NOTIFY EntriesChanged) inline QList entries() const { return qvariant_cast< QList >(property("Entries")); } Q_PROPERTY(int HideMode READ hideMode WRITE setHideMode NOTIFY HideModeChanged) inline int hideMode() const { return qvariant_cast< int >(property("HideMode")); } inline void setHideMode(int value) { setProperty("HideMode", QVariant::fromValue(value)); } Q_PROPERTY(int HideState READ hideState NOTIFY HideStateChanged) inline int hideState() const { return qvariant_cast< int >(property("HideState")); } Q_PROPERTY(int Position READ position WRITE setPosition NOTIFY PositionChanged) inline int position() const { return qvariant_cast< int >(property("Position")); } inline void setPosition(int value) { setProperty("Position", QVariant::fromValue(value)); } public Q_SLOTS: // METHODS inline QDBusPendingReply<> ActivateWindow(uint in0) { QList argumentList; argumentList << QVariant::fromValue(in0); return asyncCallWithArgumentList(QStringLiteral("ActivateWindow"), argumentList); } inline QDBusPendingReply<> CloseWindow(uint in0) { QList argumentList; argumentList << QVariant::fromValue(in0); return asyncCallWithArgumentList(QStringLiteral("CloseWindow"), argumentList); } inline QDBusPendingReply GetEntryIDs() { QList argumentList; return asyncCallWithArgumentList(QStringLiteral("GetEntryIDs"), argumentList); } inline QDBusPendingReply<> ReorderEntries(const QStringList &in0) { QList argumentList; argumentList << QVariant::fromValue(in0); return asyncCallWithArgumentList(QStringLiteral("ReorderEntries"), argumentList); } inline QDBusPendingReply<> SetFrontendWindow(uint in0) { QList argumentList; argumentList << QVariant::fromValue(in0); return asyncCallWithArgumentList(QStringLiteral("SetFrontendWindow"), argumentList); } Q_SIGNALS: // SIGNALS void EntryAdded(const QDBusObjectPath &entryPath); void EntryRemoved(const QString &entryId); void ServiceRestarted(); // begin property changed signals void ActiveWindowChanged(); void DisplayModeChanged(); void EntriesChanged(); void HideModeChanged(); void HideStateChanged(); void PositionChanged(); }; namespace com { namespace deepin { namespace dde { namespace daemon { typedef ::DBusDock Dock; } } } } #endif