/*
 * This file was generated by qdbusxml2cpp-fix version 0.8
 * Command line was: qdbusxml2cpp-fix -c ControlCenter -p generated/com_deepin_dde_controlcenter ../xml/com.deepin.dde.ControlCenter.xml
 *
 * qdbusxml2cpp-fix is Copyright (C) 2016 Deepin Technology Co., Ltd.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#ifndef COM_DEEPIN_DDE_CONTROLCENTER_H
#define COM_DEEPIN_DDE_CONTROLCENTER_H

#include <QtCore/QObject>
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>

#include <DBusExtendedAbstractInterface>
#include <QtDBus/QtDBus>

#include "types/controlcenterrect.h"

/*
 * Proxy class for interface com.deepin.dde.ControlCenter
 */
class __ControlCenterPrivate;
class __ControlCenter : public DBusExtendedAbstractInterface
{
    Q_OBJECT

public:
    static inline const char *staticInterfaceName()
    { return "com.deepin.dde.ControlCenter"; }

public:
    explicit __ControlCenter(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);

    ~__ControlCenter();

    Q_PROPERTY(ControlCenterRect Rect READ rect NOTIFY RectChanged)
    ControlCenterRect rect();

    Q_PROPERTY(bool ShowInRight READ showInRight NOTIFY ShowInRightChanged)
    bool showInRight();

public Q_SLOTS: // METHODS
    inline QDBusPendingReply<> Hide()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("Hide"), argumentList);
    }

    inline void HideQueued()
    {
        QList<QVariant> argumentList;

        CallQueued(QStringLiteral("Hide"), argumentList);
    }


    inline QDBusPendingReply<> HideImmediately()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("HideImmediately"), argumentList);
    }

    inline void HideImmediatelyQueued()
    {
        QList<QVariant> argumentList;

        CallQueued(QStringLiteral("HideImmediately"), argumentList);
    }


    inline QDBusPendingReply<> SetAutoHide(bool autoHide)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(autoHide);
        return asyncCallWithArgumentList(QStringLiteral("SetAutoHide"), argumentList);
    }

    inline void SetAutoHideQueued(bool autoHide)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(autoHide);

        CallQueued(QStringLiteral("SetAutoHide"), argumentList);
    }


    inline QDBusPendingReply<> Show()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("Show"), argumentList);
    }

    inline void ShowQueued()
    {
        QList<QVariant> argumentList;

        CallQueued(QStringLiteral("Show"), argumentList);
    }


    inline QDBusPendingReply<> ShowHome()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("ShowHome"), argumentList);
    }

    inline void ShowHomeQueued()
    {
        QList<QVariant> argumentList;

        CallQueued(QStringLiteral("ShowHome"), argumentList);
    }


    inline QDBusPendingReply<> ShowImmediately()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("ShowImmediately"), argumentList);
    }

    inline void ShowImmediatelyQueued()
    {
        QList<QVariant> argumentList;

        CallQueued(QStringLiteral("ShowImmediately"), argumentList);
    }


    inline QDBusPendingReply<> ShowModule(const QString &module)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(module);
        return asyncCallWithArgumentList(QStringLiteral("ShowModule"), argumentList);
    }

    inline void ShowModuleQueued(const QString &module)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(module);

        CallQueued(QStringLiteral("ShowModule"), argumentList);
    }


    inline QDBusPendingReply<> ShowPage(const QString &module, const QString &page)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(module) << QVariant::fromValue(page);
        return asyncCallWithArgumentList(QStringLiteral("ShowPage"), argumentList);
    }

    inline void ShowPageQueued(const QString &module, const QString &page)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(module) << QVariant::fromValue(page);

        CallQueued(QStringLiteral("ShowPage"), argumentList);
    }


    inline QDBusPendingReply<> Toggle()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("Toggle"), argumentList);
    }

    inline void ToggleQueued()
    {
        QList<QVariant> argumentList;

        CallQueued(QStringLiteral("Toggle"), argumentList);
    }


    inline QDBusPendingReply<> ToggleInLeft()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("ToggleInLeft"), argumentList);
    }

    inline void ToggleInLeftQueued()
    {
        QList<QVariant> argumentList;

        CallQueued(QStringLiteral("ToggleInLeft"), argumentList);
    }


    inline QDBusPendingReply<bool> isModuleAvailable(const QString &m)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(m);
        return asyncCallWithArgumentList(QStringLiteral("isModuleAvailable"), argumentList);
    }



    inline QDBusPendingReply<bool> isNetworkCanShowPassword()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("isNetworkCanShowPassword"), argumentList);
    }




Q_SIGNALS: // SIGNALS
    void destRectChanged();
    void rectChanged();
    // begin property changed signals
    void RectChanged(ControlCenterRect  value) const;
    void ShowInRightChanged(bool  value) const;

public Q_SLOTS:
    void CallQueued(const QString &callName, const QList<QVariant> &args);

private Q_SLOTS:
    void onPendingCallFinished(QDBusPendingCallWatcher *w);
    void onPropertyChanged(const QString &propName, const QVariant &value);

private:
    __ControlCenterPrivate *d_ptr;
};

namespace com {
  namespace deepin {
    namespace dde {
      typedef ::__ControlCenter ControlCenter;
    }
  }
}
#endif
