7#ifndef AnimationCHECK_H
8#define AnimationCHECK_H
12#include <klocalizedstring.h>
24 if (customWarning.isEmpty()) {
25 m_warning = i18nc(
"image conversion warning",
"This image has <b>animated layers</b>. Animation cannot be saved to this format.");
53 QString
id()
const override {
54 return "AnimationCheck";
~AnimationCheckFactory() override
KisExportCheckBase * create(KisExportCheckBase::Level level, const QString &customWarning) override
QString id() const override
AnimationCheck(const QString &id, Level level, const QString &customWarning=QString())
Level check(KisImageSP) const override
bool checkNeeded(KisImageSP image) const override
The KisExportCheckBase class defines the interface of the individual checks of an export filter's cap...
virtual QString id() const
bool hasAnimation() const
KisImageAnimationInterface * animationInterface() const