mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-03 00:15:21 +00:00
58 lines
1.6 KiB
C++
58 lines
1.6 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.
|
||
|
* Do not edit! All changes made to it will be lost.
|
||
|
*/
|
||
|
|
||
|
#include "./dde-dock/toolGenerate/qdbusxml2cpp/org.deepin.dde.WMSwitcher1Adaptor.h"
|
||
|
#include <QtCore/QMetaObject>
|
||
|
#include <QtCore/QByteArray>
|
||
|
#include <QtCore/QList>
|
||
|
#include <QtCore/QMap>
|
||
|
#include <QtCore/QString>
|
||
|
#include <QtCore/QStringList>
|
||
|
#include <QtCore/QVariant>
|
||
|
|
||
|
/*
|
||
|
* Implementation of adaptor class WMSwitcher1Adaptor
|
||
|
*/
|
||
|
|
||
|
WMSwitcher1Adaptor::WMSwitcher1Adaptor(QObject *parent)
|
||
|
: QDBusAbstractAdaptor(parent)
|
||
|
{
|
||
|
// constructor
|
||
|
setAutoRelaySignals(true);
|
||
|
}
|
||
|
|
||
|
WMSwitcher1Adaptor::~WMSwitcher1Adaptor()
|
||
|
{
|
||
|
// destructor
|
||
|
}
|
||
|
|
||
|
bool WMSwitcher1Adaptor::AllowSwitch()
|
||
|
{
|
||
|
// handle method call org.deepin.dde.WMSwitcher1.AllowSwitch
|
||
|
bool outArg0;
|
||
|
QMetaObject::invokeMethod(parent(), "AllowSwitch", Q_RETURN_ARG(bool, outArg0));
|
||
|
return outArg0;
|
||
|
}
|
||
|
|
||
|
QString WMSwitcher1Adaptor::CurrentWM()
|
||
|
{
|
||
|
// handle method call org.deepin.dde.WMSwitcher1.CurrentWM
|
||
|
QString outArg0;
|
||
|
QMetaObject::invokeMethod(parent(), "CurrentWM", Q_RETURN_ARG(QString, outArg0));
|
||
|
return outArg0;
|
||
|
}
|
||
|
|
||
|
void WMSwitcher1Adaptor::RequestSwitchWM()
|
||
|
{
|
||
|
// handle method call org.deepin.dde.WMSwitcher1.RequestSwitchWM
|
||
|
QMetaObject::invokeMethod(parent(), "RequestSwitchWM");
|
||
|
}
|
||
|
|