/*
 * This file was generated by qdbusxml2cpp-fix version 0.8
 * Command line was: qdbusxml2cpp-fix -c ProxyChains -p generated/com_deepin_daemon_network_proxychains /build/deepin-qt-dbus-factory/src/dde-qt-dbus-factory-1.0.6/xml/com.deepin.daemon.Network.ProxyChains.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_NETWORK_PROXYCHAINS_H
#define COM_DEEPIN_DAEMON_NETWORK_PROXYCHAINS_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>


/*
 * Proxy class for interface com.deepin.daemon.Network.ProxyChains
 */
class __ProxyChainsPrivate;
class __ProxyChains : public DBusExtendedAbstractInterface
{
    Q_OBJECT

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

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

    ~__ProxyChains();

    Q_PROPERTY(QString IP READ iP NOTIFY IPChanged)
    QString iP();

    Q_PROPERTY(QString Password READ password NOTIFY PasswordChanged)
    QString password();

    Q_PROPERTY(uint Port READ port NOTIFY PortChanged)
    uint port();

    Q_PROPERTY(QString Type READ type NOTIFY TypeChanged)
    QString type();

    Q_PROPERTY(QString User READ user NOTIFY UserChanged)
    QString user();

public Q_SLOTS: // METHODS
    inline QDBusPendingReply<> Set(const QString &in0, const QString &in1, uint in2, const QString &in3, const QString &in4)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1) << QVariant::fromValue(in2) << QVariant::fromValue(in3) << QVariant::fromValue(in4);
        return asyncCallWithArgumentList(QStringLiteral("Set"), argumentList);
    }

    inline void SetQueued(const QString &in0, const QString &in1, uint in2, const QString &in3, const QString &in4)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1) << QVariant::fromValue(in2) << QVariant::fromValue(in3) << QVariant::fromValue(in4);

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



Q_SIGNALS: // SIGNALS
    // begin property changed signals
    void IPChanged(const QString & value) const;
    void PasswordChanged(const QString & value) const;
    void PortChanged(uint  value) const;
    void TypeChanged(const QString & value) const;
    void UserChanged(const QString & 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:
    __ProxyChainsPrivate *d_ptr;
};

namespace com {
  namespace deepin {
    namespace daemon {
      namespace network {
        typedef ::__ProxyChains ProxyChains;
      }
    }
  }
}
#endif
