equal
deleted
inserted
replaced
55 explicit QGeoSatelliteInfoSourceMaemo(QObject *parent = 0); |
55 explicit QGeoSatelliteInfoSourceMaemo(QObject *parent = 0); |
56 int init(); |
56 int init(); |
57 |
57 |
58 private: |
58 private: |
59 DBusComm* dbusComm; |
59 DBusComm* dbusComm; |
60 int client_id_; |
60 bool registered; |
61 void dbusMessages(const QByteArray &msg); |
|
62 |
61 |
63 public slots: |
62 private Q_SLOTS: |
64 virtual void startUpdates(); |
63 void newSatellitesInView(const QList<QGeoSatelliteInfo> &update); |
|
64 void newSatellitesInUse(const QList<QGeoSatelliteInfo> &update); |
|
65 |
|
66 public Q_SLOTS: |
|
67 void startUpdates(); |
65 void stopUpdates(); |
68 void stopUpdates(); |
66 |
|
67 void requestUpdate(int timeout = 5000); |
69 void requestUpdate(int timeout = 5000); |
68 |
70 |
69 signals: |
71 Q_SIGNALS: |
70 void satellitesInViewUpdated(const QList<QGeoSatelliteInfo> &satellites); |
72 void satellitesInViewUpdated(const QList<QGeoSatelliteInfo> &satellites); |
71 void satellitesInUseUpdated(const QList<QGeoSatelliteInfo> &satellites); |
73 void satellitesInUseUpdated(const QList<QGeoSatelliteInfo> &satellites); |
72 void requestTimeout(); |
74 void requestTimeout(); |
73 |
75 |
74 private: |
76 private: |