20 bool doPerLayerChecks =
false;
22 doPerLayerChecks =
true;
30 if (!doPerLayerChecks &&
check->perLayerCheck()) {
34 if (
check->checkNeeded(image)) {
35 if (!filterChecks.contains(
id)) {
41 QString warning = filterCheck->
warning();
The KisExportCheckBase class defines the interface of the individual checks of an export filter's cap...
virtual Level check(KisImageSP image) const =0
virtual KisExportCheckBase * create(KisExportCheckBase::Level level, const QString &customWarning=QString())=0
static KisExportCheckRegistry * instance()
bool check(KisImageSP image, QMap< QString, KisExportCheckBase * > filterChecks)
check checks the image against the capabilities of the export filter
QStringList errors() const
QStringList warnings() const
T get(const QString &id) const