Plasma
jobaction.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef JOBACTION_H
00020 #define JOBACTION_H
00021
00022 #include "kuiserverengine.h"
00023
00024 #include <plasma/servicejob.h>
00025
00026 class JobAction : public Plasma::ServiceJob
00027 {
00028 Q_OBJECT
00029
00030 public:
00031 JobAction(JobView *jobView,
00032 const QString& operation,
00033 QMap<QString,QVariant>& parameters,
00034 QObject* parent = 0)
00035 : ServiceJob(jobView->sourceName(), operation, parameters, parent),
00036 m_jobView(jobView)
00037 {
00038 }
00039
00040 void start();
00041
00042 private:
00043 JobView *m_jobView;
00044 };
00045
00046 #endif //JOBVIEW_H