backup before review
[situare] / src / ui / mainwindow.h
index 44ac036..44d9b67 100644 (file)
@@ -262,13 +262,6 @@ private slots:
     void drawOwnLocationCrosshair(int width, int height);
 
     /**
-    * @brief Slot for gps error.
-    *
-    * @param message error message
-    */
-    void gpsError(const QString &message);
-
-    /**
     * @brief Slot for gps timeout.
     *
     * Called when request timeout occurs.
@@ -406,11 +399,25 @@ signals:
     void maxZoomLevelReached();
 
     /**
+    * @brief Signal that informs that user's message/location failed to update on Situare server
+    *        This signal is originally sended from SituareService with name error
+    *        Signal is renamed on MainWindow
+    */
+    void messageSendingFailed(const QString &error);
+
+    /**
       * @brief Forwarding signal from MapEngine to MapView
       */
     void minZoomLevelReached();
 
     /**
+    * @brief Signal that used to inform user that his message/location update tp Situare server
+    *        was failed.
+    *        This signal is originally sended from UserInfo
+    */
+    void notificateUpdateFailing(const QString &message);
+
+    /**
     * @brief Signal for refreshing user data.
     *
     */
@@ -452,6 +459,12 @@ signals:
     void updateCredentials(const QUrl &url);
 
     /**
+    * @brief Signals when updateLocation request finished successfully
+    *
+    */
+    void updateWasSuccessful();
+
+    /**
     * @brief MapView has finished zooming
     */
     void viewZoomFinished();