|
Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
|
A gadget like QGeoCoordinate: two writable properties and a read-only one. More...
#include <testobject.h>
Public Member Functions | |
| bool | isValid () const |
| Whether the coordinate is on the earth (a read-only property). | |
Public Attributes | |
| double | latitude = 0 |
| Degrees north. | |
| double | longitude = 0 |
| Degrees east. | |
Friends | |
| bool | operator== (const Coordinate &a, const Coordinate &b) |
| Equal when both properties are (MEMBER properties of a gadget need it). | |
| bool | operator!= (const Coordinate &a, const Coordinate &b) |
| Not equal. | |
A gadget like QGeoCoordinate: two writable properties and a read-only one.