Marble

GeoDataUpdate.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2013 Mohammed Nafees <nafees.technocool@gmail.com>
4//
5
6#ifndef GEODATAUPDATE_H
7#define GEODATAUPDATE_H
8
9#include "GeoDataObject.h"
10#include "geodata_export.h"
11
12namespace Marble
13{
14
15class GeoDataChange;
16class GeoDataCreate;
17class GeoDataDelete;
18class GeoDataUpdatePrivate;
19
20/**
21 */
22class GEODATA_EXPORT GeoDataUpdate : public GeoDataObject
23{
24public:
25 GeoDataUpdate();
26
27 GeoDataUpdate( const GeoDataUpdate &other );
28
29 GeoDataUpdate& operator=( const GeoDataUpdate &other );
30 bool operator==( const GeoDataUpdate &other ) const;
31 bool operator!=( const GeoDataUpdate &other ) const;
32
33 ~GeoDataUpdate() override;
34
35 /** Provides type information for downcasting a GeoNode */
36 const char* nodeType() const override;
37
38 QString targetHref() const;
39 void setTargetHref( const QString &targetHref );
40
41 const GeoDataChange *change() const;
42 GeoDataChange *change();
43 void setChange( GeoDataChange* change );
44
45 const GeoDataCreate *create() const;
46 GeoDataCreate *create();
47 void setCreate( GeoDataCreate* create );
48
49 const GeoDataDelete *getDelete() const;
50 GeoDataDelete *getDelete();
51 void setDelete( GeoDataDelete* dataDelete );
52
53private:
54 GeoDataUpdatePrivate* const d;
55};
56
57}
58
59#endif
QAction * create(StandardAction id, const QObject *recvr, const char *slot, QObject *parent)
Binds a QML item to a specific geodetic location in screen coordinates.
bool operator==(const QGraphicsApiFilter &reference, const QGraphicsApiFilter &sample)
bool operator!=(const QGraphicsApiFilter &reference, const QGraphicsApiFilter &sample)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jun 21 2024 12:00:06 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.