12#include <klocalizedstring.h>
20 NodeTypeCheck(
const QString &
nodeType,
const QString &description,
const QString &
id,
Level level,
const QString &customWarning = QString())
24 if (customWarning.isEmpty()) {
25 m_warning = i18nc(
"image conversion warning",
"The image contains layers of unsupported type <b>%1</b>. Only the rendered result will be saved.", description);
38 return (
v.count() > 1);
41 return (
v.count() > 0);
69 QString
id()
const override {
QList< QString > QStringList
char nodeType(const KoPathPoint *point)
The KisExportCheckBase class defines the interface of the individual checks of an export filter's cap...
virtual QString id() const
KisGroupLayerSP rootLayer() const
NodeTypeCheckFactory(const QString &nodeType, const QString &description)
KisExportCheckBase * create(KisExportCheckBase::Level level, const QString &customWarning) override
~NodeTypeCheckFactory() override
QString id() const override
Level check(KisImageSP) const override
NodeTypeCheck(const QString &nodeType, const QString &description, const QString &id, Level level, const QString &customWarning=QString())
bool checkNeeded(KisImageSP image) const override
bool accept(KisNodeVisitor &v) override