KVIrc  4.9.2
DeveloperAPIs
Signals | Public Member Functions | Private Attributes | List of all members
KviRegisteredUserDataBase Class Reference

#include <KviRegisteredUserDataBase.h>

+ Inheritance diagram for KviRegisteredUserDataBase:

Signals

void databaseCleared ()
 
void userAdded (const QString &)
 
void userChanged (const QString &)
 
void userRemoved (const QString &)
 

Public Member Functions

KviRegisteredUserGroupaddGroup (const QString &name)
 
KviRegisteredUseraddMask (KviRegisteredUser *u, KviIrcMask *mask)
 
KviRegisteredUseraddUser (const QString &name)
 
void copyFrom (KviRegisteredUserDataBase *db)
 
KviRegisteredUserMaskfindExactMask (const KviIrcMask &mask)
 
KviRegisteredUserMaskfindMatchingMask (const QString &nick, const QString &user, const QString &host)
 
KviRegisteredUserfindMatchingUser (const QString &nick, const QString &user, const QString &host)
 
KviRegisteredUserfindUserByName (const QString &name)
 
KviRegisteredUserfindUserWithMask (const KviIrcMask &mask)
 
KviRegisteredUsergetUser (const QString &name)
 
KviPointerHashTable< QString,
KviRegisteredUserGroup > * 
groupDict ()
 
 KviRegisteredUserDataBase ()
 
void load (const QString &filename)
 
bool removeGroup (const QString &name)
 
bool removeMask (const KviIrcMask &mask)
 
bool removeMaskByPointer (KviIrcMask *mask)
 
bool removeUser (const QString &name)
 
void save (const QString &filename)
 
KviPointerHashTable< QString,
KviRegisteredUser > * 
userDict ()
 
 ~KviRegisteredUserDataBase ()
 

Private Attributes

KviPointerHashTable< QString,
KviRegisteredUserGroup > * 
m_pGroupDict
 
KviPointerHashTable< QString,
KviRegisteredUserMaskList > * 
m_pMaskDict
 
KviPointerHashTable< QString,
KviRegisteredUser > * 
m_pUserDict
 
KviRegisteredUserMaskListm_pWildMaskList
 

Constructor & Destructor Documentation

KviRegisteredUserDataBase::KviRegisteredUserDataBase ( )
KviRegisteredUserDataBase::~KviRegisteredUserDataBase ( )

Member Function Documentation

KviRegisteredUserGroup * KviRegisteredUserDataBase::addGroup ( const QString &  name)
KviRegisteredUser * KviRegisteredUserDataBase::addMask ( KviRegisteredUser u,
KviIrcMask mask 
)
KviRegisteredUser * KviRegisteredUserDataBase::addUser ( const QString &  name)
void KviRegisteredUserDataBase::copyFrom ( KviRegisteredUserDataBase db)
void KviRegisteredUserDataBase::databaseCleared ( )
signal
KviRegisteredUserMask * KviRegisteredUserDataBase::findExactMask ( const KviIrcMask mask)
KviRegisteredUserMask * KviRegisteredUserDataBase::findMatchingMask ( const QString &  nick,
const QString &  user,
const QString &  host 
)
KviRegisteredUser * KviRegisteredUserDataBase::findMatchingUser ( const QString &  nick,
const QString &  user,
const QString &  host 
)
KviRegisteredUser* KviRegisteredUserDataBase::findUserByName ( const QString &  name)
inline
KviRegisteredUser * KviRegisteredUserDataBase::findUserWithMask ( const KviIrcMask mask)
KviRegisteredUser * KviRegisteredUserDataBase::getUser ( const QString &  name)
KviPointerHashTable<QString, KviRegisteredUserGroup>* KviRegisteredUserDataBase::groupDict ( )
inline
void KviRegisteredUserDataBase::load ( const QString &  filename)
bool KviRegisteredUserDataBase::removeGroup ( const QString &  name)
bool KviRegisteredUserDataBase::removeMask ( const KviIrcMask mask)
bool KviRegisteredUserDataBase::removeMaskByPointer ( KviIrcMask mask)
bool KviRegisteredUserDataBase::removeUser ( const QString &  name)
void KviRegisteredUserDataBase::save ( const QString &  filename)
void KviRegisteredUserDataBase::userAdded ( const QString &  )
signal

Referenced by addUser().

void KviRegisteredUserDataBase::userChanged ( const QString &  )
signal

Referenced by removeMaskByPointer().

KviPointerHashTable<QString, KviRegisteredUser>* KviRegisteredUserDataBase::userDict ( )
inline
void KviRegisteredUserDataBase::userRemoved ( const QString &  )
signal

Referenced by removeUser().

Member Data Documentation

KviPointerHashTable<QString, KviRegisteredUserGroup>* KviRegisteredUserDataBase::m_pGroupDict
private
KviPointerHashTable<QString, KviRegisteredUserMaskList>* KviRegisteredUserDataBase::m_pMaskDict
private
KviPointerHashTable<QString, KviRegisteredUser>* KviRegisteredUserDataBase::m_pUserDict
private
KviRegisteredUserMaskList* KviRegisteredUserDataBase::m_pWildMaskList
private

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