6#ifndef KIS_IMPORT_EXPORT_ERROR_CODES_H
7#define KIS_IMPORT_EXPORT_ERROR_CODES_H
13#include <kritaui_export.h>
67 QString qtErrorMessage()
const;
75 QString errorMessage()
const override;
93 QString errorMessage()
const override;
119 QString errorMessage()
const;
121 bool isCancelled()
const;
122 bool isInternalError()
const;
149 d <<
"None of the error fields is in use.";
158 d <<
"Error code = " << errorCode.
codeId;
QDebug KRITACOMMAND_EXPORT operator<<(QDebug dbg, const KisCumulativeUndoData &data)
QDebug & operator<<(QDebug &d, const KisImportExportErrorCode &errorCode)
bool operator==(const KisRegion &lhs, const KisRegion &rhs)
KisImportExportErrorCannotRead cannotRead
ErrorFieldUsed errorFieldUsed
ImportExportCodes::ErrorCodeID codeId
QString errorMessage() const
KisImportExportErrorCannotWrite cannotWrite
@ FormatFeaturesUnsupported
@ FormatColorSpaceUnsupported
virtual QString errorMessage() const =0
QFileDevice::FileError m_error
virtual ~KisImportExportComplexError()=default
~KisImportExportErrorCannotRead() override=default
~KisImportExportErrorCannotWrite() override=default