kde-extraapps/kdeplasma-addons/dataengines/ocs/servicejobwrapper.h

28 lines
544 B
C
Raw Normal View History

#ifndef SERVICEJOBWRAPPER_H
#define SERVICEJOBWRAPPER_H
#include <Plasma/ServiceJob>
namespace Attica {
class BaseJob;
}
class ServiceJobWrapper : public Plasma::ServiceJob
{
Q_OBJECT
public:
ServiceJobWrapper(Attica::BaseJob* job, const QString& destination, const QString& operation, const QMap<QString, QVariant>& parameters, QObject* parent = 0);
void start();
private Q_SLOTS:
void atticaJobFinished(Attica::BaseJob* job);
private:
Attica::BaseJob* m_job;
};
#endif