Marble

GeoSceneZoom.h
1/*
2 SPDX-FileCopyrightText: 2008 Torsten Rahn <rahn@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#ifndef MARBLE_GEOSCENEZOOM_H
8#define MARBLE_GEOSCENEZOOM_H
9
10#include <geodata_export.h>
11#include "GeoDocument.h"
12
13namespace Marble
14{
15
16/**
17 * @short Zoom properties of a GeoScene document.
18 */
19class GEODATA_EXPORT GeoSceneZoom : public GeoNode
20{
21 public:
23
24 int minimum() const;
25 void setMinimum( int name );
26 int maximum() const;
27 void setMaximum( int target );
28 bool discrete() const;
29 void setDiscrete( bool theme );
30
31 const char *nodeType() const override;
32
33 private:
34 // FIXME: d-pointerfy
35
36 int m_minimum;
37 int m_maximum;
38 bool m_discrete;
39};
40
41}
42
43#endif
A shared base class for all classes that are mapped to a specific tag (ie.
Definition GeoDocument.h:35
Zoom properties of a GeoScene document.
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jun 21 2024 12:00:07 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.