3#ifndef QGEOAREAMONITORSOURCE_H
4#define QGEOAREAMONITORSOURCE_H
6#include <QtPositioning/QGeoCoordinate>
7#include <QtPositioning/QGeoAreaMonitorInfo>
8#include <QtPositioning/QGeoPositionInfoSource>
10#include <QtCore/QObject>
11#include <QtCore/QStringList>
24 InsufficientPositionInfo = 1,
25 UnknownSourceError = 2,
31 PersistentAreaMonitorFeature = 0x00000001,
32 AnyAreaMonitorFeature = 0xffffffff
void areaEntered(const QGeoAreaMonitorInfo &monitor, const QGeoPositionInfo &update)
Emitted when the current position has moved from a position outside of the active monitor to a positi...
virtual Error error() const =0
Returns the type of error that last occurred.
virtual AreaMonitorFeatures supportedAreaMonitorFeatures() const =0
Returns the area monitoring features available to this source.
virtual QList< QGeoAreaMonitorInfo > activeMonitors(const QGeoShape &lookupArea) const =0
Returns the list of all active monitors known to the QGeoAreaMonitorSource object whose center lies w...
AreaMonitorFeature
Defines the types of area monitoring capabilities.
virtual bool stopMonitoring(const QGeoAreaMonitorInfo &monitor)=0
Returns true if monitor was successfully removed from the list of \l activeMonitors(); otherwise retu...
virtual QList< QGeoAreaMonitorInfo > activeMonitors() const =0
Returns the list of all active monitors known to the QGeoAreaMonitorSource object.
void errorOccurred(QGeoAreaMonitorSource::Error error)
This signal is emitted after an error occurred.
virtual bool startMonitoring(const QGeoAreaMonitorInfo &monitor)=0
Returns true if the monitoring of monitor could be successfully started; otherwise returns false.
Error
Defines the types of positioning methods.
void monitorExpired(const QGeoAreaMonitorInfo &monitor)
Emitted when monitor has expired.
virtual bool requestUpdate(const QGeoAreaMonitorInfo &monitor, const char *signal)=0
Enables single shot area monitoring.
void areaExited(const QGeoAreaMonitorInfo &monitor, const QGeoPositionInfo &update)
Emitted when the current position has moved from a position within the active monitor to a position o...
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
DBusConnection const char DBusError * error
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
#define Q_DECLARE_FLAGS(Flags, Enum)
GLsizei GLsizei GLchar * source
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent