mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cleanup: remove Q_PROPERTIEs from MapLocation
We never dish out an object of this type to QML. It is unclear how Q_PROPERTIEs could be of any use. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
406e83ac30
commit
15f418e046
2 changed files with 0 additions and 9 deletions
|
@ -13,9 +13,6 @@
|
|||
class MapLocation : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PROPERTY(QVariant divesite READ divesiteVariant)
|
||||
Q_PROPERTY(QGeoCoordinate coordinate READ coordinate WRITE setCoordinate NOTIFY coordinateChanged)
|
||||
Q_PROPERTY(QString name MEMBER m_name)
|
||||
|
||||
public:
|
||||
explicit MapLocation();
|
||||
|
@ -25,7 +22,6 @@ public:
|
|||
QGeoCoordinate coordinate();
|
||||
void setCoordinate(QGeoCoordinate coord);
|
||||
void setCoordinateNoEmit(QGeoCoordinate coord);
|
||||
QVariant divesiteVariant();
|
||||
struct dive_site *divesite();
|
||||
|
||||
enum Roles {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue