~PoiAlerts();
bool start();
void end();
- void startTest();
double getCurrentDistance() const;
QString getCurrentPoi() const;
bool poiInView() const;
QString const& error() const;
+signals:
+ void visibilityChanged(bool visible);
+
public slots:
bool loadConfig();
QList<PoiReader::Poi> pois_;
QQueue<int> playedSounds_;
bool enabled_;
- int distance_;
+ double distance_;
double travelled_;
PoiReader::Poi* currentPoi_;
double currentDistance_;