digikam
actionthread.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
00020
00021
00022
00023
00024 #ifndef ACTIONTHREAD_H
00025 #define ACTIONTHREAD_H
00026
00027
00028
00029 #include <QThread>
00030
00031
00032
00033 #include <kurl.h>
00034
00035
00036
00037 #include "batchtool.h"
00038 #include "actions.h"
00039
00040 namespace Digikam
00041 {
00042
00043 class ActionThreadPriv;
00044
00045 class ActionThread : public QThread
00046 {
00047 Q_OBJECT
00048
00049 public:
00050
00051 ActionThread(QObject *parent);
00052 ~ActionThread();
00053
00054 void setWorkingUrl(const KUrl& workingUrl);
00055 void setExifSetOrientation(bool set);
00056
00057 void processFile(const AssignedBatchTools& item);
00058
00059 void cancel();
00060
00061 Q_SIGNALS:
00062
00063 void starting(const Digikam::ActionData& ad);
00064 void finished(const Digikam::ActionData& ad);
00065
00066 protected:
00067
00068 void run();
00069
00070 private:
00071
00072 ActionThreadPriv* const d;
00073 };
00074
00075 }
00076
00077 #endif