1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#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
|