Marble

GeoSceneAbstractDataset.cpp
1/*
2 SPDX-FileCopyrightText: 2008 Torsten Rahn <rahn@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#include "GeoSceneAbstractDataset.h"
8
9#include <limits>
10
11namespace Marble
12{
13
14// FIXME: Filters are a Dataset.
15
16GeoSceneAbstractDataset::GeoSceneAbstractDataset(const QString &name)
17 : m_name(name)
18 , m_fileFormat()
19 , m_expire(std::numeric_limits<int>::max())
20{
21}
22
23QString GeoSceneAbstractDataset::name() const
24{
25 return m_name;
26}
27
28QString GeoSceneAbstractDataset::fileFormat() const
29{
30 return m_fileFormat;
31}
32
33void GeoSceneAbstractDataset::setFileFormat(const QString &fileFormat)
34{
35 m_fileFormat = fileFormat;
36}
37
38int GeoSceneAbstractDataset::expire() const
39{
40 return m_expire;
41}
42
43void GeoSceneAbstractDataset::setExpire(int expire)
44{
45 m_expire = expire;
46}
47
48}
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 Mon Nov 18 2024 12:15:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.