24 #ifndef DIGIKAM_BQM_BATCH_TOOL_H
25 #define DIGIKAM_BQM_BATCH_TOOL_H
46 class DImgBuiltinFilter;
47 class DImgThreadedFilter;
79 explicit BatchTool(
const QString& name, BatchToolGroup group, QObject*
const parent =
nullptr);
88 QString errorDescription()
const;
93 BatchToolGroup toolGroup()
const;
98 QString toolGroupToString()
const;
103 void setToolTitle(
const QString& toolTitle);
104 QString toolTitle()
const;
109 void setToolDescription(
const QString& toolDescription);
110 QString toolDescription()
const;
115 void setToolIconName(
const QString& iconName);
116 void setToolIcon(
const QIcon& icon);
117 QIcon toolIcon()
const;
128 void setInputUrl(
const QUrl& inputUrl);
129 QUrl inputUrl()
const;
134 void setOutputUrl(
const QUrl& outputUrl);
135 QUrl outputUrl()
const;
140 void setWorkingUrl(
const QUrl& workingUrl);
141 QUrl workingUrl()
const;
146 void setImageData(
const DImg& img);
147 DImg imageData()
const;
152 void setItemInfo(
const ItemInfo& info);
158 void setLastChainedTool(
bool last);
159 bool isLastChainedTool()
const;
166 void setOutputUrlFromInputUrl();
172 bool loadToDImg()
const;
180 bool savefromDImg()
const;
185 void setResetExifOrientationAllowed(
bool reset);
190 bool getResetExifOrientationAllowed()
const;
195 void setNeedResetExifOrientation(
bool reset);
200 bool getNeedResetExifOrientation()
const;
210 void setSaveAsNewVersion(
bool fork =
true);
216 void setBranchHistory(
bool branch =
true);
217 bool getBranchHistory()
const;
257 virtual void cancel();
264 virtual QString outputSuffix()
const;
284 void slotResetSettingsToDefault();
292 bool isRawFile(
const QUrl& url)
const;
297 void setErrorDescription(
const QString& errmsg);
307 bool isCancelled()
const;
334 QWidget* settingsWidget()
const;
339 void deleteSettingsWidget();
346 virtual void registerSettingsWidget();
Definition: dimgbuiltinfilter.h:44
Definition: dimgthreadedfilter.h:41
Definition: dpluginbqm.h:42
Definition: drawdecodersettings.h:43
Definition: iofilesettings.h:36
Definition: iteminfo.h:78
RawLoadingRule
Definition: queuesettings.h:55
Definition: datefolderview.cpp:43
QMap< QString, QVariant > BatchToolSettings
Definition: batchtool.h:48