7#ifndef MultiLayerCheck_H
8#define MultiLayerCheck_H
12#include <klocalizedstring.h>
23 if (customWarning.isEmpty()) {
24 m_warning = i18nc(
"image conversion warning",
"The image has <b>more than one layer or a mask or an active selection</b>. Only the flattened image will be saved.");
53 QString
id()
const override {
54 return "MultiLayerCheck";
The KisExportCheckBase class defines the interface of the individual checks of an export filter's cap...
virtual QString id() const
KisGroupLayerSP rootLayer() const
~MultiLayerCheckFactory() override
KisExportCheckBase * create(KisExportCheckBase::Level level, const QString &customWarning) override
QString id() const override
MultiLayerCheck(const QString &id, Level level, const QString &customWarning=QString())
Level check(KisImageSP) const override
bool checkNeeded(KisImageSP image) const override
quint32 childCount() const