mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-26 20:03:10 +00:00
28 lines
544 B
C
28 lines
544 B
C
![]() |
#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
|