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++
Remove KoShapeApplicationData
Dmitry Kazakov9f3568aa623e
diff --git a/libs/flake/CMakeLists.txt b/libs/flake/CMakeLists.txtindex 2ed76f7294..c02cda8119 100644--- a/libs/flake/CMakeLists.txt+++ b/libs/flake/CMakeLists.txt@@ -54,7 +54,6 @@ set(kritaflake_SRCSKoShapeAnchor.cppKoShapeBulkActionLock.cppKoShapeControllerBase.cpp- KoShapeApplicationData.cppKoShapeContainer.cppKoShapeContainerModel.cppKoShapeGroup.cppdiff --git a/libs/flake/KoShape.cpp b/libs/flake/KoShape.cppindex 1f4680a662..feafc83cd2 100644--- a/libs/flake/KoShape.cpp+++ b/libs/flake/KoShape.cpp@@ -26,7 +26,6 @@#include "KoPatternBackground.h"#include "KoShapeManager.h"#include "KoShapeUserData.h"-#include "KoShapeApplicationData.h"#include "KoShapeSavingContext.h"#include "KoShapeLoadingContext.h"#include "KoViewConverter.h"diff --git a/libs/flake/KoShape.h b/libs/flake/KoShape.hindex 12cde03c6a..4562d9a618 100644--- a/libs/flake/KoShape.h+++ b/libs/flake/KoShape.h@@ -32,7 +32,6 @@ class KoShapeContainer;class KoShapeStrokeModel;class KoShapeUserData;class KoViewConverter;-class KoShapeApplicationData;class KoShapeSavingContext;class KoShapeLoadingContext;class KoShapeShadow;diff --git a/libs/flake/KoShapeApplicationData.cpp b/libs/flake/KoShapeApplicationData.cppdeleted file mode 100644index 3343b6e36a..0000000000--- a/libs/flake/KoShapeApplicationData.cpp+++ /dev/null@@ -1,11 +0,0 @@-/* This file is part of the KDE project- * SPDX-FileCopyrightText: 2006 Thomas Zander <[email protected]>- *- * SPDX-License-Identifier: LGPL-2.0-or-later- */--#include "KoShapeApplicationData.h"--KoShapeApplicationData::~KoShapeApplicationData()-{-}diff --git a/libs/flake/KoShapeApplicationData.h b/libs/flake/KoShapeApplicationData.hdeleted file mode 100644index 7a8159dc53..0000000000--- a/libs/flake/KoShapeApplicationData.h+++ /dev/null@@ -1,32 +0,0 @@-/* This file is part of the KDE project- * SPDX-FileCopyrightText: 2006 Thomas Zander <[email protected]>- *- * SPDX-License-Identifier: LGPL-2.0-or-later- */--#ifndef KOSHAPEAPPLICATIONDATA_H-#define KOSHAPEAPPLICATIONDATA_H--#include "kritaflake_export.h"--/**- * The KoShapeApplicationData class is used to associate application specific data with a shape.- * See also the KoShapeUserData class that is specifically set for the benefit of shapes and tools.- *- * KoShapeApplicationData provides an abstract interface for container classes- * that are used to associate application-specific data with shapes in KoShape- * Generally, subclasses of this class provide functions to allow data to- * be stored and retrieved, and instances are attached to KoShape using- * KoShape::setApplicationData(). This makes it possible for an application to attach- * application specific data (like a Frame in Words) and have the deletion of a shape also delete- * that data.- * Each subclass should provide a reimplementation of the destructor to ensure that- * any private data is automatically cleaned up when user data objects are deleted.- */-class KRITAFLAKE_EXPORT KoShapeApplicationData-{-public:- virtual ~KoShapeApplicationData();-};--#endif