/*
 * This file was generated by qdbusxml2cpp-fix version 0.8
 * Command line was: qdbusxml2cpp-fix -c Job -p generated/com_deepin_lastore_job /build/deepin-qt-dbus-factory/src/dde-qt-dbus-factory-1.0.6/xml/com.deepin.lastore.Job.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_LASTORE_JOB_H
#define COM_DEEPIN_LASTORE_JOB_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.lastore.Job
 */
class __JobPrivate;
class __Job : public DBusExtendedAbstractInterface
{
    Q_OBJECT

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

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

    ~__Job();

    Q_PROPERTY(bool Cancelable READ cancelable NOTIFY CancelableChanged)
    bool cancelable();

    Q_PROPERTY(qlonglong CreateTime READ createTime NOTIFY CreateTimeChanged)
    qlonglong createTime();

    Q_PROPERTY(QString Description READ description NOTIFY DescriptionChanged)
    QString description();

    Q_PROPERTY(int ElapsedTime READ elapsedTime NOTIFY ElapsedTimeChanged)
    int elapsedTime();

    Q_PROPERTY(QString Id READ id NOTIFY IdChanged)
    QString id();

    Q_PROPERTY(QString PackageId READ packageId NOTIFY PackageIdChanged)
    QString packageId();

    Q_PROPERTY(double Progress READ progress NOTIFY ProgressChanged)
    double progress();

    Q_PROPERTY(qlonglong Speed READ speed NOTIFY SpeedChanged)
    qlonglong speed();

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

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

public Q_SLOTS: // METHODS

Q_SIGNALS: // SIGNALS
    void Notify(int in0);
    // begin property changed signals
    void CancelableChanged(bool  value) const;
    void CreateTimeChanged(qlonglong  value) const;
    void DescriptionChanged(const QString & value) const;
    void ElapsedTimeChanged(int  value) const;
    void IdChanged(const QString & value) const;
    void PackageIdChanged(const QString & value) const;
    void ProgressChanged(double  value) const;
    void SpeedChanged(qlonglong  value) const;
    void StatusChanged(const QString & 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:
    __JobPrivate *d_ptr;
};

namespace com {
  namespace deepin {
    namespace lastore {
      typedef ::__Job Job;
    }
  }
}
#endif
