Marble

KmlFeatureTagWriter.h
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2013 Dennis Nienhüser <[email protected]>
4 //
5 
6 #ifndef MARBLE_KMLFEATURETAGWRITER_H
7 #define MARBLE_KMLFEATURETAGWRITER_H
8 
9 #include "GeoTagWriter.h"
10 
11 #include <QString>
12 
13 namespace Marble
14 {
15 
16 // No registration for this writer, ColorStyle is an abstract kml element
17 class KmlFeatureTagWriter: public GeoTagWriter
18 {
19 public:
20  explicit KmlFeatureTagWriter( const QString &elementName );
21 
22  bool write( const GeoNode *node, GeoWriter& writer ) const override;
23 
24 protected:
25  virtual bool writeMid( const GeoNode *node, GeoWriter& writer ) const = 0;
26 
27 private:
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-2023 The KDE developers.
Generated on Wed Oct 4 2023 04:09:42 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.