From 4af2853efb699d691970ae21689d6615fc46c609 Mon Sep 17 00:00:00 2001 From: Jussi Laitinen Date: Tue, 22 Jun 2010 15:44:35 +0300 Subject: [PATCH] Renamed gpspositionprivatestub enablePowerSave. --- src/gps/gpspositionprivatestub.cpp | 14 +++++++------- src/gps/gpspositionprivatestub.h | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) 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. -- 1.7.9.5