mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Untangle Library Linkage
with the adittion of gpslistmodel/location, the libraries qt-models had a direct dependency on subsurface-core, and subsurface-core had a direct dependency on qt-models, this is bad. Moving a bit of code around I'v managed to clean this out, and also to clear a bit of uneeded code (GpsTracker and gpsTracker where basically the same thing.) Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
7b155774c5
commit
89eed5d36e
7 changed files with 36 additions and 86 deletions
|
@ -29,6 +29,8 @@ public:
|
|||
bool hasLocationsSource();
|
||||
QString currentPosition();
|
||||
|
||||
QVector<gpsTracker> currentGPSInfo() const;
|
||||
|
||||
private:
|
||||
QGeoPositionInfo lastPos;
|
||||
QGeoPositionInfoSource *getGpsSource();
|
||||
|
@ -49,9 +51,6 @@ public slots:
|
|||
void downloadFromServer();
|
||||
void postError(QNetworkReply::NetworkError error);
|
||||
void getUseridError(QNetworkReply::NetworkError error);
|
||||
#ifdef SUBSURFACE_MOBILE
|
||||
void updateModel();
|
||||
#endif
|
||||
void clearGpsData();
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue