35 #include "DkPluginInterface.h" 36 #include "DkBatchInfo.h" 51 FocusInfo(
const QString&
id = QString(),
const QString& filePath = QString());
53 void setProperty(
const QString& p);
54 QString property()
const;
61 class FocusPlugin :
public QObject, nmc::DkBatchPluginInterface {
63 Q_INTERFACES(nmc::DkBatchPluginInterface)
64 Q_PLUGIN_METADATA(IID
"com.nomacs.ImageLounge.FocusPlugin/3.1" FILE
"FocusPlugin.json")
70 QString id()
const override;
71 QImage image()
const override;
73 QList<QAction*> createActions(QWidget* parent)
override;
74 QList<QAction*> pluginActions()
const override;
75 QSharedPointer<nmc::DkImageContainer> runPlugin(
77 QSharedPointer<nmc::DkImageContainer> imgC,
78 const nmc::DkSaveInfo& saveInfo,
79 QSharedPointer<nmc::DkBatchInfo>& info)
const override;
81 void preLoadPlugin()
const override;
82 void postLoadPlugin(
const QVector<QSharedPointer<nmc::DkBatchInfo> >& batchInfo)
const override;
Definition: FocusPlugin.h:88
Definition: FocusPlugin.h:48
Definition: FocusPlugin.h:61
Definition: FocusPlugin.h:85
Definition: FocusPlugin.h:87
QStringList mMenuNames
Definition: FocusPlugin.h:98
QStringList mRunIDs
Definition: FocusPlugin.h:97
Definition: FocusPlugin.h:86
Definition: FocusPlugin.h:89
Definition: BatchTest.cpp:45
QStringList mMenuStatusTips
Definition: FocusPlugin.h:99
QList< QAction * > mActions
Definition: FocusPlugin.h:96