Krita Source Code Documentation
Loading...
Searching...
No Matches
KisExportCheckBase.cpp
Go to the documentation of this file.
1
/* This file is part of the KDE project
2
* SPDX-FileCopyrightText: 2016 Boudewijn Rempt <boud@valdyas.org>
3
*
4
* SPDX-License-Identifier: LGPL-2.0-or-later
5
*/
6
7
#include "
KisExportCheckBase.h
"
8
9
KisExportCheckBase::KisExportCheckBase
(
const
QString &
id
,
Level
level,
const
QString &customWarning,
bool
_perLayerCheck)
10
: m_id(id)
11
, m_level(level)
12
, m_perLayerCheck(_perLayerCheck)
13
{
14
if
(!customWarning.isEmpty()) {
15
m_warning
= customWarning;
16
}
17
}
18
19
KisExportCheckBase::~KisExportCheckBase
()
20
{
21
}
22
23
QString
KisExportCheckBase::id
()
const
24
{
25
return
m_id
;
26
}
27
28
bool
KisExportCheckBase::perLayerCheck
()
const
29
{
30
return
m_perLayerCheck
;
31
}
32
33
QString
KisExportCheckBase::warning
()
const
34
{
35
return
m_warning
;
36
}
37
KisExportCheckBase.h
KisExportCheckBase::KisExportCheckBase
KisExportCheckBase(const QString &id, Level level, const QString &customWarning=QString(), bool perLayerCheck=false)
KisExportCheckBase.
Definition
KisExportCheckBase.cpp:9
KisExportCheckBase::m_id
QString m_id
Definition
KisExportCheckBase.h:57
KisExportCheckBase::perLayerCheck
virtual bool perLayerCheck() const
Definition
KisExportCheckBase.cpp:28
KisExportCheckBase::~KisExportCheckBase
virtual ~KisExportCheckBase()
Definition
KisExportCheckBase.cpp:19
KisExportCheckBase::id
virtual QString id() const
Definition
KisExportCheckBase.cpp:23
KisExportCheckBase::m_perLayerCheck
bool m_perLayerCheck
Definition
KisExportCheckBase.h:60
KisExportCheckBase::m_warning
QString m_warning
Definition
KisExportCheckBase.h:59
KisExportCheckBase::Level
Level
Definition
KisExportCheckBase.h:25
KisExportCheckBase::warning
QString warning() const
Definition
KisExportCheckBase.cpp:33
libs
impex
KisExportCheckBase.cpp
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52