Minor changes to userinfo. Remove word wrap from name label and rename button
[situare] / src / ui / userinfo.h
index 9e582aa..14be1cf 100644 (file)
@@ -153,7 +153,7 @@ private:
      *
      * @param expanded true if full-length text is set, false otherwise
      */
-    void setText(bool expanded);
+    void setExpanded(bool expanded);
 
     /**
      * @brief Elides long text
@@ -177,6 +177,11 @@ private:
 
 private slots:
     /**
+     * @brief Slot for collapse user info
+     */
+    void collapse();
+
+    /**
      * @brief Slot for find button click
      */
     void findButtonClicked();
@@ -261,7 +266,7 @@ private:
     QString m_userName;                     ///< User's name
 
     GeoCoordinate m_coordinates;            ///< User current coordinates
-    ImageButton *m_findButton;              ///< User find button
+    ImageButton *m_avatar;                  ///< User find button
     UpdateLocationDialog *m_updateLocation; ///< Update location dialog
 };