Marble

GeoSceneAbstractDataset.cpp
1 /*
2  SPDX-FileCopyrightText: 2008 Torsten Rahn <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #include "GeoSceneAbstractDataset.h"
8 
9 #include <limits>
10 
11 namespace Marble
12 {
13 
14 // FIXME: Filters are a Dataset.
15 
16 GeoSceneAbstractDataset::GeoSceneAbstractDataset( const QString& name )
17  : m_name( name ),
18  m_fileFormat(),
19  m_expire( std::numeric_limits<int>::max() )
20 {
21 }
22 
23 QString GeoSceneAbstractDataset::name() const
24 {
25  return m_name;
26 }
27 
28 QString GeoSceneAbstractDataset::fileFormat() const
29 {
30  return m_fileFormat;
31 }
32 
33 void GeoSceneAbstractDataset::setFileFormat( const QString& fileFormat )
34 {
35  m_fileFormat = fileFormat;
36 }
37 
38 int GeoSceneAbstractDataset::expire() const
39 {
40  return m_expire;
41 }
42 
43 void GeoSceneAbstractDataset::setExpire( int expire )
44 {
45  m_expire = expire;
46 }
47 
48 }
Binds a QML item to a specific geodetic location in screen coordinates.
QString name(StandardShortcut id)
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Tue Jun 28 2022 03:53:04 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.