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

#include <groupchatroom.h>

Inheritance diagram for GroupChatroom:
Inheritance graph
Collaboration diagram for GroupChatroom:
Collaboration graph

Public Member Functions

 GroupChatroom (Group *group, IDialogsManager *dialogsManager, Core &_core)
 
ContactgetContact () override
 
GroupgetGroup ()
 
bool hasNewMessage () const
 
void resetEventFlags ()
 
bool friendExists (const ToxPk &pk)
 
void inviteFriend (const ToxPk &pk)
 
bool possibleToOpenInNewWindow () const
 
bool canBeRemovedFromWindow () const
 
void removeGroupFromDialogs ()
 
- 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

Groupgroup {nullptr}
 
IDialogsManagerdialogsManager {nullptr}
 
Corecore
 

Detailed Description

Definition at line 31 of file groupchatroom.h.

Constructor & Destructor Documentation

◆ GroupChatroom()

GroupChatroom::GroupChatroom ( Group group,
IDialogsManager dialogsManager,
Core _core 
)

Definition at line 31 of file groupchatroom.cpp.

Member Function Documentation

◆ canBeRemovedFromWindow()

bool GroupChatroom::canBeRemovedFromWindow ( ) const

Definition at line 83 of file groupchatroom.cpp.

Here is the call graph for this function:

◆ friendExists()

bool GroupChatroom::friendExists ( const ToxPk pk)

Definition at line 59 of file groupchatroom.cpp.

Here is the call graph for this function:

◆ getContact()

Contact * GroupChatroom::getContact ( )
overridevirtual

Implements Chatroom.

Definition at line 38 of file groupchatroom.cpp.

◆ getGroup()

Group * GroupChatroom::getGroup ( )

Definition at line 43 of file groupchatroom.cpp.

◆ hasNewMessage()

bool GroupChatroom::hasNewMessage ( ) const

Definition at line 48 of file groupchatroom.cpp.

Here is the call graph for this function:

◆ inviteFriend()

void GroupChatroom::inviteFriend ( const ToxPk pk)

Definition at line 64 of file groupchatroom.cpp.

Here is the call graph for this function:

◆ possibleToOpenInNewWindow()

bool GroupChatroom::possibleToOpenInNewWindow ( ) const

Definition at line 76 of file groupchatroom.cpp.

Here is the call graph for this function:

◆ removeGroupFromDialogs()

void GroupChatroom::removeGroupFromDialogs ( )

Definition at line 90 of file groupchatroom.cpp.

Here is the call graph for this function:

◆ resetEventFlags()

void GroupChatroom::resetEventFlags ( )

Definition at line 53 of file groupchatroom.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ core

Core& GroupChatroom::core
private

Definition at line 54 of file groupchatroom.h.

◆ dialogsManager

IDialogsManager* GroupChatroom::dialogsManager {nullptr}
private

Definition at line 53 of file groupchatroom.h.

◆ group

Group* GroupChatroom::group {nullptr}
private

Definition at line 52 of file groupchatroom.h.


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