Marble

KmlIconStyleTagWriter.h
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2010 Dennis Nienhüser <[email protected]>
4 //
5 
6 #ifndef MARBLE_KMLICONSTYLETAGWRITER_H
7 #define MARBLE_KMLICONSTYLETAGWRITER_H
8 
9 #include "GeoTagWriter.h"
10 #include "GeoDataHotSpot.h"
11 #include "KmlColorStyleTagWriter.h"
12 
13 namespace Marble
14 {
15 
16 class KmlIconStyleTagWriter : public KmlColorStyleTagWriter
17 {
18 public:
19  KmlIconStyleTagWriter();
20 
21 protected:
22  bool writeMid( const GeoNode *node, GeoWriter& writer ) const override;
23  bool isEmpty( const GeoNode *node ) const override;
24 
25 private:
26  static QString unitString( GeoDataHotSpot::Units unit );
27 };
28 
29 }
30 
31 #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 Thu Sep 21 2023 04:12:27 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.