/*
 * This file was generated by qdbusxml2cpp-fix version 0.8
 * Command line was: qdbusxml2cpp-fix -c LangSelector -p generated/com_deepin_daemon_langselector /build/deepin-qt-dbus-factory/src/dde-qt-dbus-factory-0.4.0/xml/com.deepin.daemon.LangSelector.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_DAEMON_LANGSELECTOR_H
#define COM_DEEPIN_DAEMON_LANGSELECTOR_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/localelist.h"

/*
 * Proxy class for interface com.deepin.daemon.LangSelector
 */
class __LangSelector : public DBusExtendedAbstractInterface
{
    Q_OBJECT

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

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

    ~__LangSelector();

    Q_PROPERTY(QString CurrentLocale READ currentLocale NOTIFY CurrentLocaleChanged)
    inline QString currentLocale()
    { return qvariant_cast< QString >(internalPropGet("CurrentLocale", &m_CurrentLocale)); }

    Q_PROPERTY(int LocaleState READ localeState NOTIFY LocaleStateChanged)
    inline int localeState()
    { return qvariant_cast< int >(internalPropGet("LocaleState", &m_LocaleState)); }

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

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

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

Q_SIGNALS: // SIGNALS
    void Changed(const QString &in0);
// begin property changed signals
    void CurrentLocaleChanged(const QString & value) const;
    void LocaleStateChanged(int  value) const;

// begin private slots
private Q_SLOTS:
    void onPropertyChanged(const QString &propName, const QVariant &value);

// begin private member vaiables
private:
    QString m_CurrentLocale;
    int m_LocaleState;
};

namespace com {
  namespace deepin {
    namespace daemon {
      typedef ::__LangSelector LangSelector;
    }
  }
}
#endif
