QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
QGCQGeoCoordinate Class Reference

This is a QGeoCoordinate within a QObject such that it can be used on a QmlObjectListModel. More...

#include <QGCQGeoCoordinate.h>

Inheritance diagram for QGCQGeoCoordinate:
Collaboration diagram for QGCQGeoCoordinate:

Signals

void coordinateChanged (QGeoCoordinate coordinate)
void dirtyChanged (bool dirty)

Public Member Functions

 QGCQGeoCoordinate (const QGeoCoordinate &coord, QObject *parent=nullptr)
QGeoCoordinate coordinate (void) const
void setCoordinate (const QGeoCoordinate &coordinate)
bool dirty (void) const
void setDirty (bool dirty)

Detailed Description

This is a QGeoCoordinate within a QObject such that it can be used on a QmlObjectListModel.

Definition at line 8 of file QGCQGeoCoordinate.h.

Constructor & Destructor Documentation

◆ QGCQGeoCoordinate()

QGCQGeoCoordinate::QGCQGeoCoordinate ( const QGeoCoordinate & coord,
QObject * parent = nullptr )

Definition at line 5 of file QGCQGeoCoordinate.cc.

Member Function Documentation

◆ coordinate()

QGeoCoordinate QGCQGeoCoordinate::coordinate ( void ) const
inline

Definition at line 18 of file QGCQGeoCoordinate.h.

References coordinate().

Referenced by coordinate(), coordinateChanged(), and setCoordinate().

◆ coordinateChanged

void QGCQGeoCoordinate::coordinateChanged ( QGeoCoordinate coordinate)
signal

References coordinate().

Referenced by setCoordinate().

◆ dirty()

bool QGCQGeoCoordinate::dirty ( void ) const
inline

Definition at line 20 of file QGCQGeoCoordinate.h.

Referenced by dirtyChanged(), and setDirty().

◆ dirtyChanged

void QGCQGeoCoordinate::dirtyChanged ( bool dirty)
signal

References dirty().

Referenced by setDirty().

◆ setCoordinate()

void QGCQGeoCoordinate::setCoordinate ( const QGeoCoordinate & coordinate)

Definition at line 13 of file QGCQGeoCoordinate.cc.

References coordinate(), coordinateChanged(), and setDirty().

◆ setDirty()

void QGCQGeoCoordinate::setDirty ( bool dirty)

Definition at line 22 of file QGCQGeoCoordinate.cc.

References dirty(), and dirtyChanged().

Referenced by setCoordinate().


The documentation for this class was generated from the following files: