File indexing completed on 2024-06-09 04:28:09
0001 /* 0002 * SPDX-FileCopyrightText: 2008 Thomas Zander <zander@kde.org> 0003 * 0004 * SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #ifndef _KIS_COLOR_SOURCE_OPTION_H 0008 #define _KIS_COLOR_SOURCE_OPTION_H 0009 0010 #include <kritapaintop_export.h> 0011 0012 #include <QList> 0013 #include <QScopedPointer> 0014 0015 class KisColorSource; 0016 class KoID; 0017 class KisPainter; 0018 class KisPropertiesConfiguration; 0019 0020 class PAINTOP_EXPORT KisColorSourceOption 0021 { 0022 public: 0023 KisColorSourceOption(const KisPropertiesConfiguration *setting); 0024 ~KisColorSourceOption(); 0025 0026 KisColorSource* createColorSource(const KisPainter* _painter) const; 0027 private: 0028 struct Private; 0029 const QScopedPointer<Private> d; 0030 }; 0031 0032 #endif