Marble
7#include "GeoSceneProperty.h"
9#include "MarbleDebug.h"
10#include "GeoSceneTypes.h"
15GeoSceneProperty::GeoSceneProperty(
const QString& name )
18 m_defaultValue( false ),
23const char* GeoSceneProperty::nodeType()
const
25 return GeoSceneTypes::GeoScenePropertyType;
28QString GeoSceneProperty::name()
const
33bool GeoSceneProperty::available()
const
38void GeoSceneProperty::setAvailable(
bool available )
40 m_available = available;
43bool GeoSceneProperty::defaultValue()
const
45 return m_defaultValue;
48void GeoSceneProperty::setDefaultValue(
bool defaultValue )
50 m_defaultValue = defaultValue;
51 setValue( defaultValue );
54bool GeoSceneProperty::value()
const
59void GeoSceneProperty::setValue(
bool value )
61 if ( m_value == value )
66 emit valueChanged( m_name, m_value );
71#include "moc_GeoSceneProperty.cpp"
QString name(StandardAction id)
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 14 2024 11:54:16 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.