mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-03 00:15:21 +00:00
62 lines
1.8 KiB
C
62 lines
1.8 KiB
C
![]() |
/*
|
||
|
* This file was generated by qdbusxml2cpp version 0.8
|
||
|
* Command line was: qdbusxml2cpp ./dde-dock/frame/dbusinterface/xml/org.deepin.dde.WMSwitcher1.xml -a ./dde-dock/toolGenerate/qdbusxml2cpp/org.deepin.dde.WMSwitcher1Adaptor -i ./dde-dock/toolGenerate/qdbusxml2cpp/org.deepin.dde.WMSwitcher1.h
|
||
|
*
|
||
|
* qdbusxml2cpp is Copyright (C) 2017 The Qt Company Ltd.
|
||
|
*
|
||
|
* This is an auto-generated file.
|
||
|
* This file may have been hand-edited. Look for HAND-EDIT comments
|
||
|
* before re-generating it.
|
||
|
*/
|
||
|
|
||
|
#ifndef ORG_DEEPIN_DDE_WMSWITCHER1ADAPTOR_H
|
||
|
#define ORG_DEEPIN_DDE_WMSWITCHER1ADAPTOR_H
|
||
|
|
||
|
#include <QtCore/QObject>
|
||
|
#include <QtDBus/QtDBus>
|
||
|
#include "./dde-dock/toolGenerate/qdbusxml2cpp/org.deepin.dde.WMSwitcher1.h"
|
||
|
QT_BEGIN_NAMESPACE
|
||
|
class QByteArray;
|
||
|
template<class T> class QList;
|
||
|
template<class Key, class Value> class QMap;
|
||
|
class QString;
|
||
|
class QStringList;
|
||
|
class QVariant;
|
||
|
QT_END_NAMESPACE
|
||
|
|
||
|
/*
|
||
|
* Adaptor class for interface org.deepin.dde.WMSwitcher1
|
||
|
*/
|
||
|
class WMSwitcher1Adaptor: public QDBusAbstractAdaptor
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
Q_CLASSINFO("D-Bus Interface", "org.deepin.dde.WMSwitcher1")
|
||
|
Q_CLASSINFO("D-Bus Introspection", ""
|
||
|
" <interface name=\"org.deepin.dde.WMSwitcher1\">\n"
|
||
|
" <method name=\"AllowSwitch\">\n"
|
||
|
" <arg direction=\"out\" type=\"b\" name=\"outArg0\"/>\n"
|
||
|
" </method>\n"
|
||
|
" <method name=\"CurrentWM\">\n"
|
||
|
" <arg direction=\"out\" type=\"s\" name=\"outArg0\"/>\n"
|
||
|
" </method>\n"
|
||
|
" <method name=\"RequestSwitchWM\"/>\n"
|
||
|
" <signal name=\"WMChanged\">\n"
|
||
|
" <arg type=\"s\" name=\"wmName\"/>\n"
|
||
|
" </signal>\n"
|
||
|
" </interface>\n"
|
||
|
"")
|
||
|
public:
|
||
|
WMSwitcher1Adaptor(QObject *parent);
|
||
|
virtual ~WMSwitcher1Adaptor();
|
||
|
|
||
|
public: // PROPERTIES
|
||
|
public Q_SLOTS: // METHODS
|
||
|
bool AllowSwitch();
|
||
|
QString CurrentWM();
|
||
|
void RequestSwitchWM();
|
||
|
Q_SIGNALS: // SIGNALS
|
||
|
void WMChanged(const QString &wmName);
|
||
|
};
|
||
|
|
||
|
#endif
|