/*
 * This file was generated by qdbusxml2cpp-fix version 0.8
 * Command line was: qdbusxml2cpp-fix -c Transfer1 -p generated/org_bluez_obex_transfer1 ../xml/org.bluez.obex.Transfer1.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 ORG_BLUEZ_OBEX_TRANSFER1_H
#define ORG_BLUEZ_OBEX_TRANSFER1_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 org.bluez.obex.Transfer1
 */
class __Transfer1Private;
class __Transfer1 : public DBusExtendedAbstractInterface
{
    Q_OBJECT

public:
    static inline const char *staticInterfaceName()
    { return "org.bluez.obex.Transfer1"; }

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

    ~__Transfer1();

    Q_PROPERTY(QString Filename READ filename NOTIFY FilenameChanged)
    QString filename();

    Q_PROPERTY(QString Name READ name NOTIFY NameChanged)
    QString name();

    Q_PROPERTY(QDBusObjectPath Session READ session NOTIFY SessionChanged)
    QDBusObjectPath session();

    Q_PROPERTY(qulonglong Size READ size NOTIFY SizeChanged)
    qulonglong size();

    Q_PROPERTY(QString Status READ status NOTIFY StatusChanged)
    QString status();

    Q_PROPERTY(qulonglong Time READ time NOTIFY TimeChanged)
    qulonglong time();

    Q_PROPERTY(qulonglong Transferred READ transferred NOTIFY TransferredChanged)
    qulonglong transferred();

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

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

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

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



Q_SIGNALS: // SIGNALS
    // begin property changed signals
    void FilenameChanged(const QString & value) const;
    void NameChanged(const QString & value) const;
    void SessionChanged(const QDBusObjectPath & value) const;
    void SizeChanged(qulonglong  value) const;
    void StatusChanged(const QString & value) const;
    void TimeChanged(qulonglong  value) const;
    void TransferredChanged(qulonglong  value) const;
    void TypeChanged(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:
    __Transfer1Private *d_ptr;
};

namespace org {
  namespace bluez {
    namespace obex {
      typedef ::__Transfer1 Transfer1;
    }
  }
}
#endif
