27 #ifndef DIGIKAM_EXIFTOOL_PROCESS_H
28 #define DIGIKAM_EXIFTOOL_PROCESS_H
75 COPY_MAKERNOTES = 0x02,
88 WRITE_EXISTING_TAGS = 0x01,
89 CREATE_NEW_TAGS = 0x02,
90 CREATE_NEW_GROUPS = 0x04,
91 ALL_MODES = WRITE_EXISTING_TAGS |
101 TRANS_ALL_XMP = 0x01,
102 TRANS_ALL_IPTC = 0x02,
103 TRANS_ALL_EXIF = 0x04
124 void setProgram(
const QString& etExePath,
125 const QString& perlExePath = QString());
127 QString program()
const;
129 bool checkExifToolProgram();
153 bool isRunning()
const;
164 qint64 processId()
const;
169 QProcess::ProcessState state()
const;
174 QProcess::ProcessError error()
const;
179 QString errorString()
const;
184 QProcess::ExitStatus exitStatus()
const;
192 bool waitForStarted(
int msecs = 30000)
const;
198 bool waitForFinished(
int msecs = 30000)
const;
204 int command(
const QByteArrayList& args,
Action ac);
211 QProcess::ProcessState newState);
214 QProcess::ProcessError error);
218 QProcess::ExitStatus exitStatus);
222 const QByteArray& cmdOutputChannel,
223 const QByteArray& cmdErrorChannel);
228 void slotStateChanged(QProcess::ProcessState newState);
229 void slotErrorOccurred(QProcess::ProcessError error);
230 void slotReadyReadStandardOutput();
231 void slotReadyReadStandardError();
232 void slotFinished(
int exitCode,
233 QProcess::ExitStatus exitStatus);
237 QString exifToolBin()
const;
Definition: datefolderview.cpp:43