/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp ./dde-session-shell/xml/com.lingmo.wm.xml -a ./dde-session-shell/toolGenerate/qdbusxml2cpp/com.lingmo.wmAdaptor -i ./dde-session-shell/toolGenerate/qdbusxml2cpp/com.lingmo.wm.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-session-shell/toolGenerate/qdbusxml2cpp/com.lingmo.wmAdaptor.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 WmAdaptor
 */

WmAdaptor::WmAdaptor(QObject *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

WmAdaptor::~WmAdaptor()
{
    // destructor
}

bool WmAdaptor::compositingAllowSwitch() const
{
    // get the value of property compositingAllowSwitch
    return qvariant_cast< bool >(parent()->property("compositingAllowSwitch"));
}

bool WmAdaptor::compositingEnabled() const
{
    // get the value of property compositingEnabled
    return qvariant_cast< bool >(parent()->property("compositingEnabled"));
}

void WmAdaptor::setCompositingEnabled(bool value)
{
    // set the value of property compositingEnabled
    parent()->setProperty("compositingEnabled", QVariant::fromValue(value));
}

bool WmAdaptor::compositingPossible() const
{
    // get the value of property compositingPossible
    return qvariant_cast< bool >(parent()->property("compositingPossible"));
}

int WmAdaptor::cursorSize() const
{
    // get the value of property cursorSize
    return qvariant_cast< int >(parent()->property("cursorSize"));
}

void WmAdaptor::setCursorSize(int value)
{
    // set the value of property cursorSize
    parent()->setProperty("cursorSize", QVariant::fromValue(value));
}

QString WmAdaptor::cursorTheme() const
{
    // get the value of property cursorTheme
    return qvariant_cast< QString >(parent()->property("cursorTheme"));
}

void WmAdaptor::setCursorTheme(const QString &value)
{
    // set the value of property cursorTheme
    parent()->setProperty("cursorTheme", QVariant::fromValue(value));
}

bool WmAdaptor::zoneEnabled() const
{
    // get the value of property zoneEnabled
    return qvariant_cast< bool >(parent()->property("zoneEnabled"));
}

void WmAdaptor::setZoneEnabled(bool value)
{
    // set the value of property zoneEnabled
    parent()->setProperty("zoneEnabled", QVariant::fromValue(value));
}

void WmAdaptor::BeginToMoveActiveWindow()
{
    // handle method call com.lingmo.wm.BeginToMoveActiveWindow
    QMetaObject::invokeMethod(parent(), "BeginToMoveActiveWindow");
}

void WmAdaptor::CancelPreviewWindow()
{
    // handle method call com.lingmo.wm.CancelPreviewWindow
    QMetaObject::invokeMethod(parent(), "CancelPreviewWindow");
}

void WmAdaptor::ChangeCurrentWorkspaceBackground(const QString &uri)
{
    // handle method call com.lingmo.wm.ChangeCurrentWorkspaceBackground
    QMetaObject::invokeMethod(parent(), "ChangeCurrentWorkspaceBackground", Q_ARG(QString, uri));
}

void WmAdaptor::ClearMoveStatus()
{
    // handle method call com.lingmo.wm.ClearMoveStatus
    QMetaObject::invokeMethod(parent(), "ClearMoveStatus");
}

void WmAdaptor::EnableZoneDetected(bool enabled)
{
    // handle method call com.lingmo.wm.EnableZoneDetected
    QMetaObject::invokeMethod(parent(), "EnableZoneDetected", Q_ARG(bool, enabled));
}

QStringList WmAdaptor::GetAccel(const QString &id)
{
    // handle method call com.lingmo.wm.GetAccel
    QStringList data;
    QMetaObject::invokeMethod(parent(), "GetAccel", Q_RETURN_ARG(QStringList, data), Q_ARG(QString, id));
    return data;
}

QString WmAdaptor::GetAllAccels()
{
    // handle method call com.lingmo.wm.GetAllAccels
    QString data;
    QMetaObject::invokeMethod(parent(), "GetAllAccels", Q_RETURN_ARG(QString, data));
    return data;
}

bool WmAdaptor::GetCurrentDesktopStatus()
{
    // handle method call com.lingmo.wm.GetCurrentDesktopStatus
    bool isDesktop;
    QMetaObject::invokeMethod(parent(), "GetCurrentDesktopStatus", Q_RETURN_ARG(bool, isDesktop));
    return isDesktop;
}

int WmAdaptor::GetCurrentWorkspace()
{
    // handle method call com.lingmo.wm.GetCurrentWorkspace
    int index;
    QMetaObject::invokeMethod(parent(), "GetCurrentWorkspace", Q_RETURN_ARG(int, index));
    return index;
}

QString WmAdaptor::GetCurrentWorkspaceBackground()
{
    // handle method call com.lingmo.wm.GetCurrentWorkspaceBackground
    QString result;
    QMetaObject::invokeMethod(parent(), "GetCurrentWorkspaceBackground", Q_RETURN_ARG(QString, result));
    return result;
}

QString WmAdaptor::GetCurrentWorkspaceBackgroundForMonitor(const QString &strMonitorName)
{
    // handle method call com.lingmo.wm.GetCurrentWorkspaceBackgroundForMonitor
    QString result;
    QMetaObject::invokeMethod(parent(), "GetCurrentWorkspaceBackgroundForMonitor", Q_RETURN_ARG(QString, result), Q_ARG(QString, strMonitorName));
    return result;
}

QStringList WmAdaptor::GetDefaultAccel(const QString &id)
{
    // handle method call com.lingmo.wm.GetDefaultAccel
    QStringList data;
    QMetaObject::invokeMethod(parent(), "GetDefaultAccel", Q_RETURN_ARG(QStringList, data), Q_ARG(QString, id));
    return data;
}

bool WmAdaptor::GetIsShowDesktop()
{
    // handle method call com.lingmo.wm.GetIsShowDesktop
    bool isShowDesktop;
    QMetaObject::invokeMethod(parent(), "GetIsShowDesktop", Q_RETURN_ARG(bool, isShowDesktop));
    return isShowDesktop;
}

bool WmAdaptor::GetMultiTaskingStatus()
{
    // handle method call com.lingmo.wm.GetMultiTaskingStatus
    bool isActive;
    QMetaObject::invokeMethod(parent(), "GetMultiTaskingStatus", Q_RETURN_ARG(bool, isActive));
    return isActive;
}

double WmAdaptor::GetTouchBorderInterval()
{
    // handle method call com.lingmo.wm.GetTouchBorderInterval
    double interval;
    QMetaObject::invokeMethod(parent(), "GetTouchBorderInterval", Q_RETURN_ARG(double, interval));
    return interval;
}

QString WmAdaptor::GetWorkspaceBackground(int index)
{
    // handle method call com.lingmo.wm.GetWorkspaceBackground
    QString result;
    QMetaObject::invokeMethod(parent(), "GetWorkspaceBackground", Q_RETURN_ARG(QString, result), Q_ARG(int, index));
    return result;
}

QString WmAdaptor::GetWorkspaceBackgroundForMonitor(int index, const QString &strMonitorName)
{
    // handle method call com.lingmo.wm.GetWorkspaceBackgroundForMonitor
    QString result;
    QMetaObject::invokeMethod(parent(), "GetWorkspaceBackgroundForMonitor", Q_RETURN_ARG(QString, result), Q_ARG(int, index), Q_ARG(QString, strMonitorName));
    return result;
}

void WmAdaptor::MinimizeActiveWindow()
{
    // handle method call com.lingmo.wm.MinimizeActiveWindow
    QMetaObject::invokeMethod(parent(), "MinimizeActiveWindow");
}

void WmAdaptor::NextWorkspace()
{
    // handle method call com.lingmo.wm.NextWorkspace
    QMetaObject::invokeMethod(parent(), "NextWorkspace");
}

void WmAdaptor::PerformAction(int type)
{
    // handle method call com.lingmo.wm.PerformAction
    QMetaObject::invokeMethod(parent(), "PerformAction", Q_ARG(int, type));
}

void WmAdaptor::PresentWindows(const QList<uint> &xids)
{
    // handle method call com.lingmo.wm.PresentWindows
    QMetaObject::invokeMethod(parent(), "PresentWindows", Q_ARG(QList<uint>, xids));
}

void WmAdaptor::PreviewWindow(uint xid)
{
    // handle method call com.lingmo.wm.PreviewWindow
    QMetaObject::invokeMethod(parent(), "PreviewWindow", Q_ARG(uint, xid));
}

void WmAdaptor::PreviousWorkspace()
{
    // handle method call com.lingmo.wm.PreviousWorkspace
    QMetaObject::invokeMethod(parent(), "PreviousWorkspace");
}

void WmAdaptor::RemoveAccel(const QString &id)
{
    // handle method call com.lingmo.wm.RemoveAccel
    QMetaObject::invokeMethod(parent(), "RemoveAccel", Q_ARG(QString, id));
}

bool WmAdaptor::SetAccel(const QString &data)
{
    // handle method call com.lingmo.wm.SetAccel
    bool result;
    QMetaObject::invokeMethod(parent(), "SetAccel", Q_RETURN_ARG(bool, result), Q_ARG(QString, data));
    return result;
}

void WmAdaptor::SetCurrentWorkspace(int index)
{
    // handle method call com.lingmo.wm.SetCurrentWorkspace
    QMetaObject::invokeMethod(parent(), "SetCurrentWorkspace", Q_ARG(int, index));
}

void WmAdaptor::SetCurrentWorkspaceBackground(const QString &uri)
{
    // handle method call com.lingmo.wm.SetCurrentWorkspaceBackground
    QMetaObject::invokeMethod(parent(), "SetCurrentWorkspaceBackground", Q_ARG(QString, uri));
}

void WmAdaptor::SetCurrentWorkspaceBackgroundForMonitor(const QString &uri, const QString &strMonitorName)
{
    // handle method call com.lingmo.wm.SetCurrentWorkspaceBackgroundForMonitor
    QMetaObject::invokeMethod(parent(), "SetCurrentWorkspaceBackgroundForMonitor", Q_ARG(QString, uri), Q_ARG(QString, strMonitorName));
}

void WmAdaptor::SetDecorationDeepinTheme(const QString &deepinThemeName)
{
    // handle method call com.lingmo.wm.SetDecorationDeepinTheme
    QMetaObject::invokeMethod(parent(), "SetDecorationDeepinTheme", Q_ARG(QString, deepinThemeName));
}

void WmAdaptor::SetDecorationTheme(const QString &themeType, const QString &themeName)
{
    // handle method call com.lingmo.wm.SetDecorationTheme
    QMetaObject::invokeMethod(parent(), "SetDecorationTheme", Q_ARG(QString, themeType), Q_ARG(QString, themeName));
}

void WmAdaptor::SetMultiTaskingStatus(bool isActive)
{
    // handle method call com.lingmo.wm.SetMultiTaskingStatus
    QMetaObject::invokeMethod(parent(), "SetMultiTaskingStatus", Q_ARG(bool, isActive));
}

void WmAdaptor::SetShowDesktop(bool isShowDesktop)
{
    // handle method call com.lingmo.wm.SetShowDesktop
    QMetaObject::invokeMethod(parent(), "SetShowDesktop", Q_ARG(bool, isShowDesktop));
}

void WmAdaptor::SetTouchBorderInterval(double interval)
{
    // handle method call com.lingmo.wm.SetTouchBorderInterval
    QMetaObject::invokeMethod(parent(), "SetTouchBorderInterval", Q_ARG(double, interval));
}

void WmAdaptor::SetTransientBackground(const QString &in0)
{
    // handle method call com.lingmo.wm.SetTransientBackground
    QMetaObject::invokeMethod(parent(), "SetTransientBackground", Q_ARG(QString, in0));
}

void WmAdaptor::SetTransientBackgroundForMonitor(const QString &uri, const QString &strMonitorName)
{
    // handle method call com.lingmo.wm.SetTransientBackgroundForMonitor
    QMetaObject::invokeMethod(parent(), "SetTransientBackgroundForMonitor", Q_ARG(QString, uri), Q_ARG(QString, strMonitorName));
}

void WmAdaptor::SetWorkspaceBackground(int index, const QString &uri)
{
    // handle method call com.lingmo.wm.SetWorkspaceBackground
    QMetaObject::invokeMethod(parent(), "SetWorkspaceBackground", Q_ARG(int, index), Q_ARG(QString, uri));
}

void WmAdaptor::SetWorkspaceBackgroundForMonitor(int index, const QString &strMonitorName, const QString &uri)
{
    // handle method call com.lingmo.wm.SetWorkspaceBackgroundForMonitor
    QMetaObject::invokeMethod(parent(), "SetWorkspaceBackgroundForMonitor", Q_ARG(int, index), Q_ARG(QString, strMonitorName), Q_ARG(QString, uri));
}

void WmAdaptor::ShowAllWindow()
{
    // handle method call com.lingmo.wm.ShowAllWindow
    QMetaObject::invokeMethod(parent(), "ShowAllWindow");
}

void WmAdaptor::ShowWindow()
{
    // handle method call com.lingmo.wm.ShowWindow
    QMetaObject::invokeMethod(parent(), "ShowWindow");
}

void WmAdaptor::ShowWorkspace()
{
    // handle method call com.lingmo.wm.ShowWorkspace
    QMetaObject::invokeMethod(parent(), "ShowWorkspace");
}

void WmAdaptor::SwitchApplication(bool backward)
{
    // handle method call com.lingmo.wm.SwitchApplication
    QMetaObject::invokeMethod(parent(), "SwitchApplication", Q_ARG(bool, backward));
}

void WmAdaptor::SwitchToWorkspace(bool backward)
{
    // handle method call com.lingmo.wm.SwitchToWorkspace
    QMetaObject::invokeMethod(parent(), "SwitchToWorkspace", Q_ARG(bool, backward));
}

void WmAdaptor::TileActiveWindow(uint side)
{
    // handle method call com.lingmo.wm.TileActiveWindow
    QMetaObject::invokeMethod(parent(), "TileActiveWindow", Q_ARG(uint, side));
}

void WmAdaptor::ToggleActiveWindowMaximize()
{
    // handle method call com.lingmo.wm.ToggleActiveWindowMaximize
    QMetaObject::invokeMethod(parent(), "ToggleActiveWindowMaximize");
}

void WmAdaptor::TouchToMove(int x, int y)
{
    // handle method call com.lingmo.wm.TouchToMove
    QMetaObject::invokeMethod(parent(), "TouchToMove", Q_ARG(int, x), Q_ARG(int, y));
}

int WmAdaptor::WorkspaceCount()
{
    // handle method call com.lingmo.wm.WorkspaceCount
    int count;
    QMetaObject::invokeMethod(parent(), "WorkspaceCount", Q_RETURN_ARG(int, count));
    return count;
}

