/* * This file was generated by qdbusxml2cpp version 0.8 * Command line was: qdbusxml2cpp -a fake_com_deepin_dde_daemon_dock -c FakeDaemonDock com.deepin.dde.daemon.Dock.xml * * 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 FAKE_COM_DEEPIN_DDE_DAEMON_DOCK_H #define FAKE_COM_DEEPIN_DDE_DAEMON_DOCK_H #include #include #include "dockrect.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.dde.daemon.Dock */ class FakeDaemonDock: public QDBusAbstractAdaptor { Q_OBJECT Q_CLASSINFO("D-Bus Interface", "com.deepin.dde.daemon.Dock") 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" "") public: FakeDaemonDock(QObject *parent); virtual ~FakeDaemonDock(); public: // PROPERTIES Q_PROPERTY(int DisplayMode READ displayMode WRITE setDisplayMode) int displayMode() const; void setDisplayMode(int value); Q_PROPERTY(QStringList DockedApps READ dockedApps) QStringList dockedApps() const; Q_PROPERTY(QList Entries READ entries) QList entries() const; Q_PROPERTY(DockRect FrontendWindowRect READ frontendWindowRect) DockRect frontendWindowRect() const; Q_PROPERTY(int HideMode READ hideMode WRITE setHideMode) int hideMode() const; void setHideMode(int value); Q_PROPERTY(int HideState READ hideState) int hideState() const; Q_PROPERTY(uint HideTimeout READ hideTimeout WRITE setHideTimeout) uint hideTimeout() const; void setHideTimeout(uint value); Q_PROPERTY(uint IconSize READ iconSize WRITE setIconSize) uint iconSize() const; void setIconSize(uint value); Q_PROPERTY(double Opacity READ opacity WRITE setOpacity) double opacity() const; void setOpacity(double value); Q_PROPERTY(int Position READ position WRITE setPosition) int position() const; void setPosition(int value); Q_PROPERTY(uint ShowTimeout READ showTimeout WRITE setShowTimeout) uint showTimeout() const; void setShowTimeout(uint value); Q_PROPERTY(uint WindowSize READ windowSize WRITE setWindowSize) uint windowSize() const; void setWindowSize(uint value); Q_PROPERTY(uint WindowSizeEfficient READ windowSizeEfficient WRITE setWindowSizeEfficient) uint windowSizeEfficient() const; void setWindowSizeEfficient(uint value); Q_PROPERTY(uint WindowSizeFashion READ windowSizeFashion WRITE setWindowSizeFashion) uint windowSizeFashion() const; void setWindowSizeFashion(uint value); public Q_SLOTS: // METHODS void ActivateWindow(uint in0); void CancelPreviewWindow(); void CloseWindow(uint in0); QStringList GetDockedAppsDesktopFiles(); QStringList GetEntryIDs(); QString GetPluginSettings(); bool IsDocked(const QString &in0); bool IsOnDock(const QString &in0); void MakeWindowAbove(uint in0); void MaximizeWindow(uint in0); void MergePluginSettings(const QString &in0); void MinimizeWindow(uint in0); void MoveEntry(int in0, int in1); void MoveWindow(uint in0); void PreviewWindow(uint in0); QString QueryWindowIdentifyMethod(uint in0); void RemovePluginSettings(const QString &in0, const QStringList &in1); bool RequestDock(const QString &in0, int in1); bool RequestUndock(const QString &in0); void SetFrontendWindowRect(int in0, int in1, uint in2, uint in3); void SetPluginSettings(const QString &in0); Q_SIGNALS: // SIGNALS void DockAppSettingsSynced(); void EntryAdded(const QDBusObjectPath &in0, int in1); void EntryRemoved(const QString &in0); void PluginSettingsSynced(); void ServiceRestarted(); private: int m_position = 2; int m_displayMode = 1; int m_hideMode = 0; int m_hideState = 0; int m_hideTimeout = 0; double m_opacity = 0.4; }; #endif