qTox
Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
|
#include <friendlistlayout.h>
Public Member Functions | |
FriendListLayout () | |
FriendListLayout (QWidget *parent) | |
void | addFriendWidget (FriendWidget *widget, Status::Status s) |
void | removeFriendWidget (FriendWidget *widget, Status::Status s) |
int | indexOfFriendWidget (GenericChatItemWidget *widget, bool online) const |
void | moveFriendWidgets (FriendListWidget *listWidget) |
int | friendOnlineCount () const |
int | friendTotalCount () const |
bool | hasChatrooms () const |
void | searchChatrooms (const QString &searchString, bool hideOnline=false, bool hideOffline=false) |
QLayout * | getLayoutOnline () const |
QLayout * | getLayoutOffline () const |
Private Member Functions | |
void | init () |
QLayout * | getFriendLayout (Status::Status s) const |
Private Attributes | |
GenericChatItemLayout | friendOnlineLayout |
GenericChatItemLayout | friendOfflineLayout |
Definition at line 30 of file friendlistlayout.h.
|
explicit |
|
explicit |
void FriendListLayout::addFriendWidget | ( | FriendWidget * | widget, |
Status::Status | s | ||
) |
Definition at line 55 of file friendlistlayout.cpp.
int FriendListLayout::friendOnlineCount | ( | ) | const |
Definition at line 101 of file friendlistlayout.cpp.
int FriendListLayout::friendTotalCount | ( | ) | const |
Definition at line 106 of file friendlistlayout.cpp.
|
private |
QLayout * FriendListLayout::getLayoutOffline | ( | ) | const |
Definition at line 127 of file friendlistlayout.cpp.
QLayout * FriendListLayout::getLayoutOnline | ( | ) | const |
Definition at line 122 of file friendlistlayout.cpp.
bool FriendListLayout::hasChatrooms | ( | ) | const |
Definition at line 111 of file friendlistlayout.cpp.
int FriendListLayout::indexOfFriendWidget | ( | GenericChatItemWidget * | widget, |
bool | online | ||
) | const |
Definition at line 76 of file friendlistlayout.cpp.
|
private |
Definition at line 40 of file friendlistlayout.cpp.
void FriendListLayout::moveFriendWidgets | ( | FriendListWidget * | listWidget | ) |
Definition at line 83 of file friendlistlayout.cpp.
void FriendListLayout::removeFriendWidget | ( | FriendWidget * | widget, |
Status::Status | s | ||
) |
Definition at line 68 of file friendlistlayout.cpp.
void FriendListLayout::searchChatrooms | ( | const QString & | searchString, |
bool | hideOnline = false , |
||
bool | hideOffline = false |
||
) |
Definition at line 116 of file friendlistlayout.cpp.
|
private |
Definition at line 56 of file friendlistlayout.h.
|
private |
Definition at line 55 of file friendlistlayout.h.