9#include "GeoDataPlacemark.h"
10#include "marble_export.h"
17class MARBLE_EXPORT MergeItem :
public QObject
24 Q_PROPERTY(
QString pathA READ pathA WRITE setPathA NOTIFY pathAChanged)
25 Q_PROPERTY(
QString pathB READ pathB WRITE setPathB NOTIFY pathBChanged)
26 Q_PROPERTY(GeoDataPlacemark placemarkA READ placemarkA WRITE setPlacemarkA NOTIFY placemarkAChanged)
27 Q_PROPERTY(GeoDataPlacemark placemarkB READ placemarkB WRITE setPlacemarkB NOTIFY placemarkBChanged)
28 Q_PROPERTY(
QString nameA READ nameA NOTIFY nameAChanged())
29 Q_PROPERTY(
QString nameB READ nameB NOTIFY nameBChanged())
30 Q_PROPERTY(
QString descriptionA READ descriptionA NOTIFY descriptionAChanged())
31 Q_PROPERTY(
QString descriptionB READ descriptionB NOTIFY descriptionBChanged())
32 Q_PROPERTY(MergeItem::
Action actionA READ actionA WRITE setActionA NOTIFY actionAChanged)
33 Q_PROPERTY(MergeItem::
Action actionB READ actionB WRITE setActionB NOTIFY actionBChanged)
34 Q_PROPERTY(MergeItem::Resolution resolution READ resolution WRITE setResolution NOTIFY resolutionChanged)
48 void setPathA(
const QString &path);
51 void setPathB(
const QString &path);
53 GeoDataPlacemark placemarkA()
const;
54 void setPlacemarkA(
const GeoDataPlacemark &placemark);
56 GeoDataPlacemark placemarkB()
const;
57 void setPlacemarkB(
const GeoDataPlacemark &placemark);
65 MergeItem::Action actionA()
const;
66 void setActionA(MergeItem::Action action);
68 MergeItem::Action actionB()
const;
69 void setActionB(MergeItem::Action action);
71 MergeItem::Resolution resolution()
const;
72 void setResolution(MergeItem::Resolution resolution);
77 void placemarkAChanged();
78 void placemarkBChanged();
81 void descriptionAChanged();
82 void descriptionBChanged();
83 void actionAChanged();
84 void actionBChanged();
85 void resolutionChanged();
90 GeoDataPlacemark m_placemarkA;
91 GeoDataPlacemark m_placemarkB;
92 MergeItem::Action m_actionA;
93 MergeItem::Action m_actionB;
94 MergeItem::Resolution m_resolution;
AKONADI_MIME_EXPORT const char Deleted[]
Binds a QML item to a specific geodetic location in screen coordinates.