35 #include "DkPluginInterface.h" 36 #include "DkBatchInfo.h" 49 DkTestInfo(
const QString&
id = QString(),
const QString& filePath = QString());
51 void setProperty(
const QString& p);
52 QString property()
const;
59 class BatchTest :
public QObject, nmc::DkBatchPluginInterface {
61 Q_INTERFACES(nmc::DkBatchPluginInterface)
62 Q_PLUGIN_METADATA(IID
"com.nomacs.ImageLounge.BatchTest/3.2" FILE
"BatchTest.json")
68 QString id()
const override;
69 QImage image()
const override;
71 QList<QAction*> createActions(QWidget* parent)
override;
72 QList<QAction*> pluginActions()
const override;
73 QSharedPointer<nmc::DkImageContainer> runPlugin(
75 QSharedPointer<nmc::DkImageContainer> imgC,
76 const nmc::DkSaveInfo& saveInfo,
77 QSharedPointer<nmc::DkBatchInfo>& info)
const override;
79 void preLoadPlugin()
const override;
80 void postLoadPlugin(
const QVector<QSharedPointer<nmc::DkBatchInfo> >& batchInfo)
const override;
QList< QAction * > mActions
Definition: BatchTest.h:91
QStringList mRunIDs
Definition: BatchTest.h:92
QStringList mMenuStatusTips
Definition: BatchTest.h:94
Definition: BatchTest.h:46
QStringList mMenuNames
Definition: BatchTest.h:93
Definition: BatchTest.h:83
Definition: BatchTest.h:59
Definition: BatchTest.cpp:45
Definition: BatchTest.h:84