FriendListView Class Reference
FriendListView shows items in list.
More...
#include <friendlistview.h>
List of all members.
Detailed Description
FriendListView shows items in list.
Constructor & Destructor Documentation
FriendListView::FriendListView |
( |
QWidget * |
parent = 0 |
) |
|
Member Function Documentation
void FriendListView::addWidget |
( |
const QString & |
key, |
|
|
QWidget * |
widget | |
|
) |
| | |
Add widget to view and widget list.
- Parameters:
-
| key | user ID |
| widget | widget to add to list |
Adds widget to view.
- Parameters:
-
void FriendListView::clearFilter |
( |
|
) |
|
Clears filtering from list.
Calls show to all widgets.
void FriendListView::clearUnused |
( |
const QStringList & |
userIDs |
) |
|
Clear unused widgets from view.
Clears items which are not in user ID's list from the view and widget list.
- Parameters:
-
| userIDs | list of new user ID's. |
bool FriendListView::contains |
( |
const QString & |
userID |
) |
|
Checks if view contains widget with userID.
- Parameters:
-
- Returns:
- true if view contains widget, false otherwise
void FriendListView::filter |
( |
const QList< QString > & |
userIDs |
) |
|
Sets filter to list.
Hide all widgets that are not in the userIDs list.
- Parameters:
-
| userIDs | user ID's to widgets that are shown |
FriendListItem * FriendListView::takeWidgetFromView |
( |
const QString & |
userID |
) |
|
Takes widget from view.
Widget is not deleted.
- Parameters:
-
- Returns:
- FriendListItem
The documentation for this class was generated from the following files: