Marble

GeoDataUpdate.h
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2013 Mohammed Nafees <[email protected]>
4 //
5 
6 #ifndef GEODATAUPDATE_H
7 #define GEODATAUPDATE_H
8 
9 #include "GeoDataObject.h"
10 #include "geodata_export.h"
11 
12 namespace Marble
13 {
14 
15 class GeoDataChange;
16 class GeoDataCreate;
17 class GeoDataDelete;
18 class GeoDataUpdatePrivate;
19 
20 /**
21  */
22 class GEODATA_EXPORT GeoDataUpdate : public GeoDataObject
23 {
24 public:
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 
53 private:
54  GeoDataUpdatePrivate* const d;
55 };
56 
57 }
58 
59 #endif
bool operator==(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)
bool operator!=(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)
Binds a QML item to a specific geodetic location in screen coordinates.
QAction * create(StandardGameAction id, const QObject *recvr, const char *slot, QObject *parent)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Sep 25 2023 03:50:19 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.