From: Jussi Laitinen Date: Tue, 22 Jun 2010 12:44:35 +0000 (+0300) Subject: Renamed gpspositionprivatestub enablePowerSave. X-Git-Tag: v1.0~8^2~7 X-Git-Url: http://git.maemo.org/git/?a=commitdiff_plain;h=4af2853efb699d691970ae21689d6615fc46c609;p=situare Renamed gpspositionprivatestub enablePowerSave. --- diff --git a/src/gps/gpspositionprivatestub.cpp b/src/gps/gpspositionprivatestub.cpp index 57961d8..ca31fcf 100644 --- a/src/gps/gpspositionprivatestub.cpp +++ b/src/gps/gpspositionprivatestub.cpp @@ -33,13 +33,6 @@ GPSPositionPrivate::GPSPositionPrivate(QObject *parent) m_parent = static_cast(parent); } -void GPSPositionPrivate::enablePowerSave(bool enabled) -{ - qDebug() << __PRETTY_FUNCTION__; - - Q_UNUSED(enabled); -} - bool GPSPositionPrivate::isInitialized() { qDebug() << __PRETTY_FUNCTION__; @@ -69,6 +62,13 @@ void GPSPositionPrivate::setMode(GPSPosition::Mode mode, const QString &filePath Q_UNUSED(filePath); } +void GPSPositionPrivate::setPowerSave(bool enabled) +{ + qDebug() << __PRETTY_FUNCTION__; + + Q_UNUSED(enabled); +} + void GPSPositionPrivate::start() { qDebug() << __PRETTY_FUNCTION__; diff --git a/src/gps/gpspositionprivatestub.h b/src/gps/gpspositionprivatestub.h index 2a73fcc..7207efc 100644 --- a/src/gps/gpspositionprivatestub.h +++ b/src/gps/gpspositionprivatestub.h @@ -51,13 +51,6 @@ public: ******************************************************************************/ public: /** - * @brief Enables power save mode. - * - * Starts GPS for position update and then stops it. - */ - void enablePowerSave(bool enabled); - - /** * @brief Returns is GPS initialized. * * RETURNS FALSE @@ -91,6 +84,13 @@ public: void requestUpdate(); /** + * @brief Enables power save mode. + * + * Starts GPS for position update and then stops it. + */ + void setPowerSave(bool enabled); + + /** * @brief Set GPS update interval. * * DOES NOTHING.