Renamed gpspositionprivatestub enablePowerSave.
authorJussi Laitinen <jupe@l3l7588.ixonos.local>
Tue, 22 Jun 2010 12:44:35 +0000 (15:44 +0300)
committerJussi Laitinen <jupe@l3l7588.ixonos.local>
Tue, 22 Jun 2010 12:44:35 +0000 (15:44 +0300)
src/gps/gpspositionprivatestub.cpp
src/gps/gpspositionprivatestub.h

index 57961d8..ca31fcf 100644 (file)
@@ -33,13 +33,6 @@ GPSPositionPrivate::GPSPositionPrivate(QObject *parent)
     m_parent = static_cast<GPSPosition*>(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__;
index 2a73fcc..7207efc 100644 (file)
@@ -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.