X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fui%2Ffriendlistpanel.h;h=29e01baab0883facda5c719927cd07e57cd8c5e5;hb=29f85e5649df6c5a1805e4905061b86f1046fd95;hp=53f3894e3b5d8078c66fd51e43cbc3c0f567b896;hpb=36f3d7fd09e80f7dbe9ae5f6cc2a2fa8b95227e1;p=situare diff --git a/src/ui/friendlistpanel.h b/src/ui/friendlistpanel.h index 53f3894..29e01ba 100644 --- a/src/ui/friendlistpanel.h +++ b/src/ui/friendlistpanel.h @@ -65,10 +65,29 @@ public slots: */ void reDrawFriendsPanel(int width, int height); +private slots: + /** + * @brief Slot to clear friend list filter. + */ + void clearFriendListFilter(); + + /** + * @brief Slot to show friends in list. + * + * Shows only friends that are on userIDs list. + * @param userIDs list of user ID's + */ + void showFriendsInList(const QList &userIDs); + /******************************************************************************* * SIGNALS ******************************************************************************/ signals: + /** + * @brief Signal for friend finding. + * + * @param coordinates longitude and latitude values + */ void findFriend(const QPointF &coordinates); /******************************************************************************* @@ -76,14 +95,15 @@ signals: ******************************************************************************/ private: FriendListView *m_friendListView; ///< Friend list view - QVBoxLayout *m_friendsPanelVBox; ///< Vertical layout inside the panel PanelSliderBar *m_friendsPanelSlidingBar; ///< Widget for sidebar tab item - - QStateMachine *m_friendsPanelStateMachine; ///< State machine for sliding the panel + QPushButton *m_clearFilterButton; ///< Button to clear list filtering QState *m_friendsPanelStateClosed; ///< State of the closed panel + QStateMachine *m_friendsPanelStateMachine; ///< State machine for sliding the panel QState *m_friendsPanelStateOpened; ///< State of the opened panel QSignalTransition *m_friendsPanelTransitionClose; ///< Transition signal for closing the panel QSignalTransition *m_friendsPanelTransitionOpen; ///< Transition signal for opening the panel + QVBoxLayout *m_friendsPanelVBox; ///< Vertical layout inside the panel + QWidget *m_panelBase; ///< Widget for panel base }; #endif // FRIENDLISTPANEL_H