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
8
9KisExportCheckBase::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
22
24{
25 return m_id;
26}
27
29{
30 return m_perLayerCheck;
31}
32
34{
35 return m_warning;
36}
37
KisExportCheckBase(const QString &id, Level level, const QString &customWarning=QString(), bool perLayerCheck=false)
KisExportCheckBase.
virtual bool perLayerCheck() const
virtual QString id() const