/*
 * This file was generated by qdbusxml2cpp version 0.7
 * Command line was: qdbusxml2cpp -m -p jobviewifacev2 /usr/src/ports/kdelibs/kdelibs-4.14.38-3.i686/src/kdelibs-4.14.38/kdeui/jobs/org.kde.JobViewV2.xml
 *
 * qdbusxml2cpp is Copyright (C) 2015 The Qt Company Ltd.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#ifndef JOBVIEWIFACEV2_H_1519740891
#define JOBVIEWIFACEV2_H_1519740891

#include <QtCore/QObject>
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>
#include <QtDBus/QtDBus>

/*
 * Proxy class for interface org.kde.JobViewV2
 */
class OrgKdeJobViewV2Interface: public QDBusAbstractInterface
{
    Q_OBJECT
public:
    static inline const char *staticInterfaceName()
    { return "org.kde.JobViewV2"; }

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

    ~OrgKdeJobViewV2Interface();

public Q_SLOTS: // METHODS
    inline Q_NOREPLY void clearDescriptionField(uint number)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(number);
        callWithArgumentList(QDBus::NoBlock, QLatin1String("clearDescriptionField"), argumentList);
    }

    inline QDBusPendingReply<bool> setDescriptionField(uint number, const QString &name, const QString &value)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(number) << QVariant::fromValue(name) << QVariant::fromValue(value);
        return asyncCallWithArgumentList(QLatin1String("setDescriptionField"), argumentList);
    }

    inline Q_NOREPLY void setDestUrl(const QDBusVariant &destUrl)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(destUrl);
        callWithArgumentList(QDBus::NoBlock, QLatin1String("setDestUrl"), argumentList);
    }

    inline Q_NOREPLY void setInfoMessage(const QString &message)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(message);
        callWithArgumentList(QDBus::NoBlock, QLatin1String("setInfoMessage"), argumentList);
    }

    inline Q_NOREPLY void setPercent(uint percent)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(percent);
        callWithArgumentList(QDBus::NoBlock, QLatin1String("setPercent"), argumentList);
    }

    inline Q_NOREPLY void setProcessedAmount(qulonglong amount, const QString &unit)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(amount) << QVariant::fromValue(unit);
        callWithArgumentList(QDBus::NoBlock, QLatin1String("setProcessedAmount"), argumentList);
    }

    inline Q_NOREPLY void setSpeed(qulonglong bytesPerSecond)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(bytesPerSecond);
        callWithArgumentList(QDBus::NoBlock, QLatin1String("setSpeed"), argumentList);
    }

    inline Q_NOREPLY void setSuspended(bool suspended)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(suspended);
        callWithArgumentList(QDBus::NoBlock, QLatin1String("setSuspended"), argumentList);
    }

    inline Q_NOREPLY void setTotalAmount(qulonglong amount, const QString &unit)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(amount) << QVariant::fromValue(unit);
        callWithArgumentList(QDBus::NoBlock, QLatin1String("setTotalAmount"), argumentList);
    }

    inline Q_NOREPLY void terminate(const QString &errorMessage)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(errorMessage);
        callWithArgumentList(QDBus::NoBlock, QLatin1String("terminate"), argumentList);
    }

Q_SIGNALS: // SIGNALS
    void cancelRequested();
    void resumeRequested();
    void suspendRequested();
};

namespace org {
  namespace kde {
    typedef ::OrgKdeJobViewV2Interface JobViewV2;
  }
}
#endif
