Marble

KmlObjectTagHandler.cpp
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2014 Dennis Nienhüser <nienhueser@kde.org>
4//
5
6#include "KmlObjectTagHandler.h"
7
8namespace Marble
9{
10
11void KmlObjectTagHandler::parseIdentifiers(const GeoParser &parser, GeoDataObject *object)
12{
13 object->setId(QString::fromLatin1(parser.attribute("id").toUtf8()));
14 object->setTargetId(QString::fromLatin1(parser.attribute("targetId").toUtf8()));
15}
16
17}
Binds a QML item to a specific geodetic location in screen coordinates.
QString fromLatin1(QByteArrayView str)
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.