/*
 * 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-0.4.0/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 __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)
    inline bool cancelable()
    { return qvariant_cast< bool >(internalPropGet("Cancelable", &m_Cancelable)); }

    Q_PROPERTY(qlonglong CreateTime READ createTime NOTIFY CreateTimeChanged)
    inline qlonglong createTime()
    { return qvariant_cast< qlonglong >(internalPropGet("CreateTime", &m_CreateTime)); }

    Q_PROPERTY(QString Description READ description NOTIFY DescriptionChanged)
    inline QString description()
    { return qvariant_cast< QString >(internalPropGet("Description", &m_Description)); }

    Q_PROPERTY(int ElapsedTime READ elapsedTime NOTIFY ElapsedTimeChanged)
    inline int elapsedTime()
    { return qvariant_cast< int >(internalPropGet("ElapsedTime", &m_ElapsedTime)); }

    Q_PROPERTY(QString Id READ id NOTIFY IdChanged)
    inline QString id()
    { return qvariant_cast< QString >(internalPropGet("Id", &m_Id)); }

    Q_PROPERTY(QString PackageId READ packageId NOTIFY PackageIdChanged)
    inline QString packageId()
    { return qvariant_cast< QString >(internalPropGet("PackageId", &m_PackageId)); }

    Q_PROPERTY(double Progress READ progress NOTIFY ProgressChanged)
    inline double progress()
    { return qvariant_cast< double >(internalPropGet("Progress", &m_Progress)); }

    Q_PROPERTY(qlonglong Speed READ speed NOTIFY SpeedChanged)
    inline qlonglong speed()
    { return qvariant_cast< qlonglong >(internalPropGet("Speed", &m_Speed)); }

    Q_PROPERTY(QString Status READ status NOTIFY StatusChanged)
    inline QString status()
    { return qvariant_cast< QString >(internalPropGet("Status", &m_Status)); }

    Q_PROPERTY(QString Type READ type NOTIFY TypeChanged)
    inline QString type()
    { return qvariant_cast< QString >(internalPropGet("Type", &m_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;

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

// begin private member vaiables
private:
    bool m_Cancelable;
    qlonglong m_CreateTime;
    QString m_Description;
    int m_ElapsedTime;
    QString m_Id;
    QString m_PackageId;
    double m_Progress;
    qlonglong m_Speed;
    QString m_Status;
    QString m_Type;
};

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