File indexing completed on 2025-01-05 03:59:10
0001 /* 0002 SPDX-FileCopyrightText: 2008 Torsten Rahn <rahn@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #ifndef MARBLE_GEOSCENEICON_H 0008 #define MARBLE_GEOSCENEICON_H 0009 0010 #include <QString> 0011 #include <QColor> 0012 0013 #include "digikam_export.h" 0014 0015 #include "GeoDocument.h" 0016 0017 namespace Marble 0018 { 0019 0020 /** 0021 * @short Icon properties of a GeoScene document. 0022 */ 0023 class DIGIKAM_EXPORT GeoSceneIcon : public GeoNode 0024 { 0025 public: 0026 GeoSceneIcon(); 0027 ~GeoSceneIcon() override; 0028 0029 QString pixmap() const; 0030 void setPixmap(const QString&); 0031 0032 QColor color() const; 0033 void setColor(const QColor&); 0034 0035 const char *nodeType() const override; 0036 0037 private: 0038 // FIXME: d-pointerfy 0039 0040 QString m_pixmap; 0041 QColor m_color; 0042 }; 0043 0044 } 0045 0046 #endif