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

#include <grouplist.h>

Collaboration diagram for GroupList:
Collaboration graph

Static Public Member Functions

static GroupaddGroup (Core &core, int groupId, const GroupId &persistentGroupId, const QString &name, bool isAvGroupchat, const QString &selfName)
 
static GroupfindGroup (const GroupId &groupId)
 
static const GroupIdid2Key (uint32_t groupNum)
 
static void removeGroup (const GroupId &groupId, bool fake=false)
 
static QList< Group * > getAllGroups ()
 
static void clear ()
 

Static Private Attributes

static QHash< const GroupId, Group * > groupList
 
static QHash< uint32_t, GroupIdid2key
 

Detailed Description

Definition at line 32 of file grouplist.h.

Member Function Documentation

◆ addGroup()

Group * GroupList::addGroup ( Core core,
int  groupId,
const GroupId persistentGroupId,
const QString &  name,
bool  isAvGroupchat,
const QString &  selfName 
)
static

Definition at line 28 of file grouplist.cpp.

Here is the caller graph for this function:

◆ clear()

void GroupList::clear ( )
static

Definition at line 74 of file grouplist.cpp.

Here is the caller graph for this function:

◆ findGroup()

Group * GroupList::findGroup ( const GroupId groupId)
static

Definition at line 42 of file grouplist.cpp.

Here is the caller graph for this function:

◆ getAllGroups()

QList< Group * > GroupList::getAllGroups ( )
static

Definition at line 64 of file grouplist.cpp.

Here is the caller graph for this function:

◆ id2Key()

const GroupId & GroupList::id2Key ( uint32_t  groupNum)
static

Definition at line 51 of file grouplist.cpp.

Here is the caller graph for this function:

◆ removeGroup()

void GroupList::removeGroup ( const GroupId groupId,
bool  fake = false 
)
static

Definition at line 56 of file grouplist.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ groupList

QHash< const GroupId, Group * > GroupList::groupList
staticprivate

Definition at line 43 of file grouplist.h.

◆ id2key

QHash< uint32_t, GroupId > GroupList::id2key
staticprivate

Definition at line 44 of file grouplist.h.


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