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

#include <friendchatroom.h>

Inheritance diagram for FriendChatroom:
Inheritance graph
Collaboration diagram for FriendChatroom:
Collaboration graph

Public Slots

FriendgetFriend ()
 
void setActive (bool active)
 
bool canBeInvited () const
 
int getCircleId () const
 
QString getCircleName () const
 
void inviteToNewGroup ()
 
void inviteFriend (const Group *group)
 
bool autoAcceptEnabled () const
 
QString getAutoAcceptDir () const
 
void disableAutoAccept ()
 
void setAutoAcceptDir (const QString &dir)
 
QVector< GroupToDisplaygetGroups () const
 
QVector< CircleToDisplaygetOtherCircles () const
 Return sorted list of circles exclude current circle. More...
 
void resetEventFlags ()
 
bool possibleToOpenInNewWindow () const
 
bool canBeRemovedFromWindow () const
 
bool friendCanBeRemoved () const
 
void removeFriendFromDialogs ()
 

Signals

void activeChanged (bool activated)
 

Public Member Functions

 FriendChatroom (Friend *frnd, IDialogsManager *dialogsManager, Core &_core)
 
ContactgetContact () override
 
- Public Member Functions inherited from Chatroom
 Chatroom ()=default
 
virtual ~Chatroom ()
 
 Chatroom (const Chatroom &)=default
 
Chatroomoperator= (const Chatroom &)=default
 
 Chatroom (Chatroom &&)=default
 
Chatroomoperator= (Chatroom &&)=default
 

Private Attributes

bool active {false}
 
Friendfrnd {nullptr}
 
IDialogsManagerdialogsManager {nullptr}
 
Corecore
 

Detailed Description

Definition at line 45 of file friendchatroom.h.

Constructor & Destructor Documentation

◆ FriendChatroom()

FriendChatroom::FriendChatroom ( Friend frnd,
IDialogsManager dialogsManager,
Core _core 
)

Definition at line 45 of file friendchatroom.cpp.

Member Function Documentation

◆ activeChanged

void FriendChatroom::activeChanged ( bool  activated)
signal
Here is the caller graph for this function:

◆ autoAcceptEnabled

bool FriendChatroom::autoAcceptEnabled ( ) const
slot

Definition at line 110 of file friendchatroom.cpp.

Here is the call graph for this function:

◆ canBeInvited

bool FriendChatroom::canBeInvited ( ) const
slot

Definition at line 70 of file friendchatroom.cpp.

Here is the call graph for this function:

◆ canBeRemovedFromWindow

bool FriendChatroom::canBeRemovedFromWindow ( ) const
slot

Definition at line 174 of file friendchatroom.cpp.

Here is the call graph for this function:

◆ disableAutoAccept

void FriendChatroom::disableAutoAccept ( )
slot

Definition at line 105 of file friendchatroom.cpp.

Here is the call graph for this function:

◆ friendCanBeRemoved

bool FriendChatroom::friendCanBeRemoved ( ) const
slot

Definition at line 181 of file friendchatroom.cpp.

Here is the call graph for this function:

◆ getAutoAcceptDir

QString FriendChatroom::getAutoAcceptDir ( ) const
slot

Definition at line 93 of file friendchatroom.cpp.

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

◆ getCircleId

int FriendChatroom::getCircleId ( ) const
slot

Definition at line 75 of file friendchatroom.cpp.

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

◆ getCircleName

QString FriendChatroom::getCircleName ( ) const
slot

Definition at line 80 of file friendchatroom.cpp.

Here is the call graph for this function:

◆ getContact()

Contact * FriendChatroom::getContact ( )
overridevirtual

Implements Chatroom.

Definition at line 57 of file friendchatroom.cpp.

◆ getFriend

Friend * FriendChatroom::getFriend ( )
slot

Definition at line 52 of file friendchatroom.cpp.

◆ getGroups

QVector< GroupToDisplay > FriendChatroom::getGroups ( ) const
slot

Definition at line 122 of file friendchatroom.cpp.

Here is the call graph for this function:

◆ getOtherCircles

QVector< CircleToDisplay > FriendChatroom::getOtherCircles ( ) const
slot

Return sorted list of circles exclude current circle.

Definition at line 137 of file friendchatroom.cpp.

Here is the call graph for this function:

◆ inviteFriend

void FriendChatroom::inviteFriend ( const Group group)
slot

Definition at line 115 of file friendchatroom.cpp.

Here is the call graph for this function:

◆ inviteToNewGroup

void FriendChatroom::inviteToNewGroup ( )
slot

Definition at line 86 of file friendchatroom.cpp.

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

◆ possibleToOpenInNewWindow

bool FriendChatroom::possibleToOpenInNewWindow ( ) const
slot

Definition at line 167 of file friendchatroom.cpp.

Here is the call graph for this function:

◆ removeFriendFromDialogs

void FriendChatroom::removeFriendFromDialogs ( )
slot

Definition at line 188 of file friendchatroom.cpp.

Here is the call graph for this function:

◆ resetEventFlags

void FriendChatroom::resetEventFlags ( )
slot

Definition at line 162 of file friendchatroom.cpp.

Here is the call graph for this function:

◆ setActive

void FriendChatroom::setActive ( bool  active)
slot

Definition at line 62 of file friendchatroom.cpp.

◆ setAutoAcceptDir

void FriendChatroom::setAutoAcceptDir ( const QString &  dir)
slot

Definition at line 99 of file friendchatroom.cpp.

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

Member Data Documentation

◆ active

bool FriendChatroom::active {false}
private

Definition at line 86 of file friendchatroom.h.

◆ core

Core& FriendChatroom::core
private

Definition at line 89 of file friendchatroom.h.

◆ dialogsManager

IDialogsManager* FriendChatroom::dialogsManager {nullptr}
private

Definition at line 88 of file friendchatroom.h.

◆ frnd

Friend* FriendChatroom::frnd {nullptr}
private

Definition at line 87 of file friendchatroom.h.


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