Added functionality for hide and show user information
[situare] / src / ui / userinfopanel.h
index 50bdb9a..df11c04 100644 (file)
@@ -53,6 +53,13 @@ public:
  ******************************************************************************/
 public slots:
     /**
+     * @brief show / hide user information
+     *
+     * @param show true if userinfo should be shown
+     */
+    void showUserInfo(bool show);
+
+    /**
      * @brief Slot to capture returning user data from situareService
      *
      * @param user
@@ -64,6 +71,11 @@ public slots:
  ******************************************************************************/
 signals:
     /**
+     * @brief Signal for collapse user info
+     */
+    void collapse();
+
+    /**
      * @brief Signal for finding user.
      *
      * @param coordinates user geo coordinates
@@ -71,11 +83,6 @@ signals:
     void findUser(const GeoCoordinate &coordinates);
 
     /**
-     * @brief Signal for collapse user info
-     */
-    void collapse();
-
-    /**
      * @brief Signal that used to inform user that his message/location update tp Situare server
      *        was failed.
      *        This signal is originally sended from UserInfo