4#ifndef QGEOSATELLITEINFOSOURCE_GYPSY_H
5#define QGEOSATELLITEINFOSOURCE_GYPSY_H
20#include <gypsy/gypsy-satellite.h>
21#include <gypsy/gypsy-control.h>
22#include <gypsy/gypsy-device.h>
23#include <gconf/gconf-client.h>
39 const gchar *detailed_signal,
82 void requestUpdateTimeout();
96 GypsySatellite *m_satellite;
97 GypsyDevice *m_device;
99 bool m_updatesOngoing;
100 bool m_requestOngoing;
102 GypsyControl *m_control =
nullptr;
IOBluetoothDevice * device
void satellitesChanged(GypsySatellite *satellite, GPtrArray *satellites)
void requestUpdate(int timeout=5000) override
void stopUpdates() override
virtual void createEngine()
int init(const QVariantMap parameters)
~QGeoSatelliteInfoSourceGypsy()
virtual void startUpdates() override
SatelliteGypsyEngine * m_engine
int minimumUpdateInterval() const override
Error error() const override
Returns the last error that occurred.
Error
The Error enumeration represents the errors which can occur.
QObject * parent() const
Returns a pointer to the parent object.
\macro QT_RESTRICTED_CAST_FROM_ASCII
virtual void eng_g_free(gpointer mem)
virtual gboolean eng_gypsy_device_stop(GypsyDevice *device, GError **error)
virtual gchar * eng_gconf_client_get_string(GConfClient *client, const gchar *key, GError **err)
virtual guint eng_g_signal_handlers_disconnect_by_func(gpointer instance, gpointer func, gpointer data)
virtual GypsyControl * eng_gypsy_control_get_default(void)
virtual GConfClient * eng_gconf_client_get_default(void)
virtual gulong eng_g_signal_connect(gpointer instance, const gchar *detailed_signal, GCallback c_handler, gpointer data)
virtual gboolean eng_gypsy_device_start(GypsyDevice *device, GError **error)
virtual void eng_gypsy_satellite_free_satellite_array(GPtrArray *satellites)
virtual GPtrArray * eng_gypsy_satellite_get_satellites(GypsySatellite *satellite, GError **error)
virtual GypsyDevice * eng_gypsy_device_new(const char *object_path)
QGeoSatelliteInfoSource * m_owner
virtual ~SatelliteGypsyEngine()
virtual char * eng_gypsy_control_create(GypsyControl *control, const char *device_name, GError **error)
virtual GypsySatellite * eng_gypsy_satellite_new(const char *object_path)
virtual GypsyDeviceFixStatus eng_gypsy_device_get_fix_status(GypsyDevice *device, GError **error)
Combined button and popup list for selecting options.
DBusConnection const char DBusError * error
GLbitfield GLuint64 timeout
[4]
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent