Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
Cleanup includes, convert to SPDX license headers
Freya Lupen8dd5c19ed7cb
diff --git a/libs/libkis/Node.cpp b/libs/libkis/Node.cppindex 84f24d385f..d6ab5811d3 100644--- a/libs/libkis/Node.cpp+++ b/libs/libkis/Node.cpp@@ -67,14 +67,6 @@#include "LibKisUtils.h"#include <kis_layer_utils.h>-#include <KoCanvasResourceProvider.h>-#include "strokes/KisFreehandStrokeInfo.h"-#include "kis_resources_snapshot.h"-#include "kis_canvas_resource_provider.h"-#include "strokes/freehand_stroke.h"-#include "kis_painting_information_builder.h"-#include "KisAsynchronousStrokeUpdateHelper.h"-#include "kis_stroke_strategy.h"#include "PaintingResources.h"diff --git a/libs/libkis/PaintingResources.cpp b/libs/libkis/PaintingResources.cppindex 62abb261b0..ac6f46ee85 100644--- a/libs/libkis/PaintingResources.cpp+++ b/libs/libkis/PaintingResources.cpp@@ -1,58 +1,16 @@/*- * Copyright (c) 2020 Scott Petrovic <[email protected]>+ * SPDX-FileCopyrightText: 2020 Scott Petrovic <[email protected]>*- * This program is free software; you can redistribute it and/or modify- * it under the terms of the GNU Lesser General Public License as published by- * the Free Software Foundation; either version 2 of the License, or- * (at your option) any later version.- *- * This program is distributed in the hope that it will be useful,- * but WITHOUT ANY WARRANTY; without even the implied warranty of- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the- * GNU General Public License for more details.- *- * You should have received a copy of the GNU Lesser General Public License- * along with this program; if not, write to the Free Software- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.+ * SPDX-License-Identifier: GPL-2.0-or-later*/#include "PaintingResources.h"-#include <kis_types.h>-#include "KisView.h"-#include "kis_types.h"-+#include "KisPart.h"#include "kis_canvas_resource_provider.h"-#include "kis_paintop_preset.h"-#include "KisViewManager.h"-#include "KisGlobalResourcesInterface.h"--#include <KoResourcePaths.h>--#include "Document.h"--#include <KisPart.h>-#include <KisMainWindow.h>--#include <kis_types.h>-#include <kis_annotation.h>----#include "kis_animation_importer.h"-#include <kis_canvas2.h>-#include <KoUpdater.h>-#include <QMessageBox>---#include "strokes/KisFreehandStrokeInfo.h"-#include "kis_resources_snapshot.h"-#include "kis_canvas_resource_provider.h"-#include "strokes/freehand_stroke.h"-#include "kis_painting_information_builder.h"-#include "KisAsynchronousStrokeUpdateHelper.h"-#include "kis_stroke_strategy.h"+#include "KisMainWindow.h"+#include "kis_image.h"KisFigurePaintingToolHelper PaintingResources::createHelper(KisImageWSP image)diff --git a/libs/libkis/PaintingResources.h b/libs/libkis/PaintingResources.hindex 19bb0d4e64..781691837e 100644--- a/libs/libkis/PaintingResources.h+++ b/libs/libkis/PaintingResources.h@@ -1,36 +1,12 @@/*- * Copyright (c) 2020 Scott Petrovic <[email protected]>+ * SPDX-FileCopyrightText: 2020 Scott Petrovic <[email protected]>*- * This program is free software; you can redistribute it and/or modify- * it under the terms of the GNU Lesser General Public License as published by- * the Free Software Foundation; either version 2 of the License, or- * (at your option) any later version.- *- * This program is distributed in the hope that it will be useful,- * but WITHOUT ANY WARRANTY; without even the implied warranty of- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the- * GNU General Public License for more details.- *- * You should have received a copy of the GNU Lesser General Public License- * along with this program; if not, write to the Free Software- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.+ * SPDX-License-Identifier: GPL-2.0-or-later*/#ifndef LIBKIS_PAINTINGRESOURCES_H#define LIBKIS_PAINTINGRESOURCES_H-#include <QObject>-#include <QColor>-#include <kis_types.h>--#include "kritalibkis_export.h"-#include "KoCanvasResourceProvider.h"-#include "kis_stroke_strategy.h"--#include <kis_figure_painting_tool_helper.h>--#include "libkis.h"--#include "View.h"+#include "kis_figure_painting_tool_helper.h"/*** @brief The PaintingResources namespace