qTox  Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
Public Member Functions | Private Member Functions | Private Attributes | List of all members
FriendListLayout Class Reference

#include <friendlistlayout.h>

Inheritance diagram for FriendListLayout:
Inheritance graph
Collaboration diagram for FriendListLayout:
Collaboration graph

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
 

Detailed Description

Definition at line 30 of file friendlistlayout.h.

Constructor & Destructor Documentation

◆ FriendListLayout() [1/2]

FriendListLayout::FriendListLayout ( )
explicit

Definition at line 28 of file friendlistlayout.cpp.

Here is the call graph for this function:

◆ FriendListLayout() [2/2]

FriendListLayout::FriendListLayout ( QWidget *  parent)
explicit

Definition at line 34 of file friendlistlayout.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ addFriendWidget()

void FriendListLayout::addFriendWidget ( FriendWidget widget,
Status::Status  s 
)

Definition at line 55 of file friendlistlayout.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ friendOnlineCount()

int FriendListLayout::friendOnlineCount ( ) const

Definition at line 101 of file friendlistlayout.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ friendTotalCount()

int FriendListLayout::friendTotalCount ( ) const

Definition at line 106 of file friendlistlayout.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getFriendLayout()

QLayout * FriendListLayout::getFriendLayout ( Status::Status  s) const
private

Definition at line 132 of file friendlistlayout.cpp.

Here is the call graph for this function:

◆ getLayoutOffline()

QLayout * FriendListLayout::getLayoutOffline ( ) const

Definition at line 127 of file friendlistlayout.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getLayoutOnline()

QLayout * FriendListLayout::getLayoutOnline ( ) const

Definition at line 122 of file friendlistlayout.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hasChatrooms()

bool FriendListLayout::hasChatrooms ( ) const

Definition at line 111 of file friendlistlayout.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ indexOfFriendWidget()

int FriendListLayout::indexOfFriendWidget ( GenericChatItemWidget widget,
bool  online 
) const

Definition at line 76 of file friendlistlayout.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init()

void FriendListLayout::init ( )
private

Definition at line 40 of file friendlistlayout.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ moveFriendWidgets()

void FriendListLayout::moveFriendWidgets ( FriendListWidget listWidget)

Definition at line 83 of file friendlistlayout.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ removeFriendWidget()

void FriendListLayout::removeFriendWidget ( FriendWidget widget,
Status::Status  s 
)

Definition at line 68 of file friendlistlayout.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ searchChatrooms()

void FriendListLayout::searchChatrooms ( const QString &  searchString,
bool  hideOnline = false,
bool  hideOffline = false 
)

Definition at line 116 of file friendlistlayout.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ friendOfflineLayout

GenericChatItemLayout FriendListLayout::friendOfflineLayout
private

Definition at line 56 of file friendlistlayout.h.

◆ friendOnlineLayout

GenericChatItemLayout FriendListLayout::friendOnlineLayout
private

Definition at line 55 of file friendlistlayout.h.


The documentation for this class was generated from the following files: