KVIrc  4.9.2
DeveloperAPIs
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
KviRegisteredUser Class Reference

#include <KviRegisteredUser.h>

+ Inheritance diagram for KviRegisteredUser:

Public Types

enum  IgnoreFlags {
  Channel = 1, Query = 2, Notice = 4, Ctcp = 8,
  Invite = 16, Dcc = 32, Highlight = 64
}
 

Public Member Functions

bool getBoolProperty (const QString &szName, bool bDef=false)
 
const QString & getProperty (const QString &szName)
 
bool getProperty (const QString &szName, QString &szValue)
 
const QString & group ()
 
bool ignoreEnabled ()
 
int ignoreFlags ()
 
bool isIgnoreEnabledFor (IgnoreFlags flag)
 
 KviRegisteredUser (const QString &szName)
 
KviPointerList< KviIrcMask > * maskList ()
 
bool matches (const KviIrcMask &mask)
 
bool matchesFixed (const KviIrcMask &mask)
 
bool matchesFixed (const QString &szNick, const QString &szUser, const QString &szHost)
 
const QString & name ()
 
KviPointerHashTable< QString,
QString > * 
propertyDict ()
 
void setGroup (const QString &szName)
 
void setIgnoreEnabled (bool bEnabled)
 
void setIgnoreFlags (int iFlags)
 
void setProperty (const QString &szName, const QString &szValue)
 
void setProperty (const QString &szName, bool szValue)
 
 ~KviRegisteredUser ()
 

Protected Member Functions

bool addMask (KviIrcMask *pMask)
 
KviIrcMaskfindMask (const KviIrcMask &mask)
 
bool removeMask (KviIrcMask *pMask)
 

Private Attributes

bool m_bIgnoreEnabled
 
int m_iIgnoreFlags
 
KviPointerList< KviIrcMask > * m_pMaskList
 
KviPointerHashTable< QString,
QString > * 
m_pPropertyDict
 
QString m_szGroup
 
QString m_szName
 

Friends

class KviRegisteredUserDataBase
 

Member Enumeration Documentation

Enumerator
Channel 
Query 
Notice 
Ctcp 
Invite 
Dcc 
Highlight 

Constructor & Destructor Documentation

KviRegisteredUser::KviRegisteredUser ( const QString &  szName)
KviRegisteredUser::~KviRegisteredUser ( )

References m_pMaskList, and m_pPropertyDict.

Member Function Documentation

bool KviRegisteredUser::addMask ( KviIrcMask pMask)
protected
KviIrcMask * KviRegisteredUser::findMask ( const KviIrcMask mask)
protected
bool KviRegisteredUser::getBoolProperty ( const QString &  szName,
bool  bDef = false 
)
const QString & KviRegisteredUser::getProperty ( const QString &  szName)
bool KviRegisteredUser::getProperty ( const QString &  szName,
QString &  szValue 
)
const QString& KviRegisteredUser::group ( )
inline
bool KviRegisteredUser::ignoreEnabled ( )
inline
int KviRegisteredUser::ignoreFlags ( )
inline
bool KviRegisteredUser::isIgnoreEnabledFor ( IgnoreFlags  flag)
KviPointerList<KviIrcMask>* KviRegisteredUser::maskList ( )
inline
bool KviRegisteredUser::matches ( const KviIrcMask mask)
bool KviRegisteredUser::matchesFixed ( const KviIrcMask mask)
bool KviRegisteredUser::matchesFixed ( const QString &  szNick,
const QString &  szUser,
const QString &  szHost 
)
const QString& KviRegisteredUser::name ( )
inline
KviPointerHashTable<QString, QString>* KviRegisteredUser::propertyDict ( )
inline
bool KviRegisteredUser::removeMask ( KviIrcMask pMask)
protected
void KviRegisteredUser::setGroup ( const QString &  szName)
inline
void KviRegisteredUser::setIgnoreEnabled ( bool  bEnabled)
inline
void KviRegisteredUser::setIgnoreFlags ( int  iFlags)
inline
void KviRegisteredUser::setProperty ( const QString &  szName,
const QString &  szValue 
)
void KviRegisteredUser::setProperty ( const QString &  szName,
bool  szValue 
)

References setProperty().

Friends And Related Function Documentation

friend class KviRegisteredUserDataBase
friend

Member Data Documentation

bool KviRegisteredUser::m_bIgnoreEnabled
private
int KviRegisteredUser::m_iIgnoreFlags
private
KviPointerList<KviIrcMask>* KviRegisteredUser::m_pMaskList
private
KviPointerHashTable<QString, QString>* KviRegisteredUser::m_pPropertyDict
private
QString KviRegisteredUser::m_szGroup
private
QString KviRegisteredUser::m_szName
private

Referenced by KviRegisteredUser().


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