File indexing completed on 2025-01-05 03:59:11
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_GEOSCENEZOOM_H 0008 #define MARBLE_GEOSCENEZOOM_H 0009 0010 #include "digikam_export.h" 0011 #include "GeoDocument.h" 0012 0013 namespace Marble 0014 { 0015 0016 /** 0017 * @short Zoom properties of a GeoScene document. 0018 */ 0019 class DIGIKAM_EXPORT GeoSceneZoom : public GeoNode 0020 { 0021 public: 0022 GeoSceneZoom(); 0023 0024 int minimum() const; 0025 void setMinimum( int name ); 0026 int maximum() const; 0027 void setMaximum( int target ); 0028 bool discrete() const; 0029 void setDiscrete( bool theme ); 0030 0031 const char *nodeType() const override; 0032 0033 private: 0034 // FIXME: d-pointerfy 0035 0036 int m_minimum; 0037 int m_maximum; 0038 bool m_discrete; 0039 }; 0040 0041 } 0042 0043 #endif