/* * This file was generated by qdbusxml2cpp version 0.8 * Command line was: qdbusxml2cpp ./dde-dock/frame/dbusinterface/xml/com.deepin.wm.xml -a ./dde-dock/toolGenerate/qdbusxml2cpp/com.deepin.wmAdaptor -i ./dde-dock/toolGenerate/qdbusxml2cpp/com.deepin.wm.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 COM_DEEPIN_WMADAPTOR_H #define COM_DEEPIN_WMADAPTOR_H #include #include #include "./dde-dock/toolGenerate/qdbusxml2cpp/com.deepin.wm.h" QT_BEGIN_NAMESPACE class QByteArray; template class QList; template class QMap; class QString; class QStringList; class QVariant; QT_END_NAMESPACE /* * Adaptor class for interface com.deepin.wm */ class WmAdaptor: public QDBusAbstractAdaptor { Q_OBJECT Q_CLASSINFO("D-Bus Interface", "com.deepin.wm") Q_CLASSINFO("D-Bus Introspection", "" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" "") public: WmAdaptor(QObject *parent); virtual ~WmAdaptor(); public: // PROPERTIES Q_PROPERTY(bool compositingAllowSwitch READ compositingAllowSwitch) bool compositingAllowSwitch() const; Q_PROPERTY(bool compositingEnabled READ compositingEnabled WRITE setCompositingEnabled) bool compositingEnabled() const; void setCompositingEnabled(bool value); Q_PROPERTY(bool compositingPossible READ compositingPossible) bool compositingPossible() const; Q_PROPERTY(int cursorSize READ cursorSize WRITE setCursorSize) int cursorSize() const; void setCursorSize(int value); Q_PROPERTY(QString cursorTheme READ cursorTheme WRITE setCursorTheme) QString cursorTheme() const; void setCursorTheme(const QString &value); Q_PROPERTY(bool zoneEnabled READ zoneEnabled WRITE setZoneEnabled) bool zoneEnabled() const; void setZoneEnabled(bool value); public Q_SLOTS: // METHODS void BeginToMoveActiveWindow(); void CancelPreviewWindow(); void ChangeCurrentWorkspaceBackground(const QString &uri); void EnableZoneDetected(bool enabled); QStringList GetAccel(const QString &id); QString GetAllAccels(); int GetCurrentWorkspace(); QString GetCurrentWorkspaceBackground(); QString GetCurrentWorkspaceBackgroundForMonitor(const QString &strMonitorName); QStringList GetDefaultAccel(const QString &id); bool GetIsShowDesktop(); bool GetMultiTaskingStatus(); QString GetWorkspaceBackground(int index); QString GetWorkspaceBackgroundForMonitor(int index, const QString &strMonitorName); void MinimizeActiveWindow(); void NextWorkspace(); void PerformAction(int type); void PresentWindows(const QList &xids); void PreviewWindow(uint xid); void PreviousWorkspace(); void RemoveAccel(const QString &id); bool SetAccel(const QString &data); void SetCurrentWorkspace(int index); void SetCurrentWorkspaceBackground(const QString &uri); void SetCurrentWorkspaceBackgroundForMonitor(const QString &uri, const QString &strMonitorName); void SetDecorationDeepinTheme(const QString &deepinThemeName); void SetDecorationTheme(const QString &themeType, const QString &themeName); void SetMultiTaskingStatus(bool isActive); void SetShowDesktop(bool isShowDesktop); void SetTransientBackground(const QString &in0); void SetTransientBackgroundForMonitor(const QString &uri, const QString &strMonitorName); void SetWorkspaceBackground(int index, const QString &uri); void SetWorkspaceBackgroundForMonitor(int index, const QString &strMonitorName, const QString &uri); void ShowAllWindow(); void ShowWindow(); void ShowWorkspace(); void SwitchApplication(bool backward); void SwitchToWorkspace(bool backward); void TileActiveWindow(uint side); void ToggleActiveWindowMaximize(); int WorkspaceCount(); Q_SIGNALS: // SIGNALS void BeginToMoveActiveWindowChanged(); void ResumeCompositorChanged(int reason); void ShowAllWindowChanged(); void ShowWindowChanged(); void ShowWorkspaceChanged(); void SuspendCompositorChanged(int reason); void SwitchApplicationChanged(bool backward); void TileActiveWindowChanged(int side); void ToggleActiveWindowMaximizeChanged(); void WorkspaceBackgroundChanged(int index, const QString &newUri); void WorkspaceBackgroundChangedForMonitor(int index, const QString &strMonitorName, const QString &uri); void WorkspaceSwitched(int from, int to); void compositingEnabledChanged(bool enabled); void wmCompositingEnabledChanged(bool enabled); void workspaceCountChanged(int count); }; #endif