Marble

KmlFeatureTagWriter.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2013 Dennis Nienhüser <nienhueser@kde.org>
4//
5
6#ifndef MARBLE_KMLFEATURETAGWRITER_H
7#define MARBLE_KMLFEATURETAGWRITER_H
8
9#include "GeoTagWriter.h"
10
11#include <QString>
12
13namespace Marble
14{
15
16// No registration for this writer, ColorStyle is an abstract kml element
17class KmlFeatureTagWriter: public GeoTagWriter
18{
19public:
20 explicit KmlFeatureTagWriter( const QString &elementName );
21
22 bool write( const GeoNode *node, GeoWriter& writer ) const override;
23
24protected:
25 virtual bool writeMid( const GeoNode *node, GeoWriter& writer ) const = 0;
26
27private:
28 QString const m_elementName;
29};
30
31}
32
33#endif
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 Tue Mar 26 2024 11:18:17 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.