Added show contact button to FriendListPanel.
[situare] / src / ui / friendlistpanel.h
index 280e22a..dfa270a 100644 (file)
@@ -169,11 +169,16 @@ private slots:
     void routeToSelectedFriend();
 
     /**
+    * @brief Requests selected friend's contact dialog.
+    */
+    void requestSelectedFriendContactDialog();
+
+    /**
     * @brief Sets route button disabled.
     *
     * Disabled if there isn't any list item selected.
     */
-    void setRouteButtonDisabled();
+    void setSelectionButtonsDisabled();
 
     /**
      * @brief Slot to show friends in list.
@@ -238,6 +243,7 @@ private:
     QPushButton *m_clearFilterButton;   ///< Button to clear list filtering
     QPushButton *m_filterClearButton;   ///< Button for clearing the filtering
     QPushButton *m_routeButton;         ///< Button to route to friend
+    QPushButton *m_showContactButton;   ///< Button to show contact dialog
 
     QWidget *m_friendListHeaderWidget;  ///< Friend list header widget