KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
KviNickServRuleSet Class Reference

#include <KviNickServRuleSet.h>

+ Inheritance diagram for KviNickServRuleSet:

Public Member Functions

void addRule (KviNickServRule *r)
 
void clear ()
 
void copyFrom (const KviNickServRuleSet &src)
 
bool isEmpty ()
 
bool isEnabled ()
 
 KviNickServRuleSet ()
 
 KviNickServRuleSet (const KviNickServRuleSet &s)
 
void load (const QString &szConfigFile)
 
KviNickServRulematchRule (const QString &szNick, const KviIrcMask *nickServ, const QString &szMsg, const QString &szServer=QString::null)
 
KviPointerList< KviNickServRule > * rules ()
 
void save (const QString &szConfigFile)
 
void save (KviConfigurationFile *cfg, const QString &prefix)
 
void setEnabled (bool bEnabled)
 
 ~KviNickServRuleSet ()
 

Static Public Member Functions

static KviNickServRuleSetcreateInstance ()
 
static KviNickServRuleSetload (KviConfigurationFile *cfg, const QString &prefix)
 

Protected Member Functions

bool loadPrivate (KviConfigurationFile *cfg, const QString &prefix, unsigned int nEntries)
 

Protected Attributes

bool m_bEnabled
 
KviPointerList< KviNickServRule > * m_pRules
 

Constructor & Destructor Documentation

KviNickServRuleSet::KviNickServRuleSet ( )

References m_bEnabled, and m_pRules.

Referenced by createInstance(), and load().

KviNickServRuleSet::KviNickServRuleSet ( const KviNickServRuleSet s)

References copyFrom(), and m_pRules.

KviNickServRuleSet::~KviNickServRuleSet ( )

References m_pRules.

Member Function Documentation

void KviNickServRuleSet::addRule ( KviNickServRule r)
void KviNickServRuleSet::clear ( )

References m_bEnabled, and m_pRules.

Referenced by OptionsWidget_nickServ::commit(), and load().

void KviNickServRuleSet::copyFrom ( const KviNickServRuleSet src)
KviNickServRuleSet * KviNickServRuleSet::createInstance ( )
static
bool KviNickServRuleSet::isEmpty ( )
inline
bool KviNickServRuleSet::isEnabled ( )
inline
void KviNickServRuleSet::load ( const QString &  szConfigFile)
KviNickServRuleSet * KviNickServRuleSet::load ( KviConfigurationFile cfg,
const QString &  prefix 
)
static
bool KviNickServRuleSet::loadPrivate ( KviConfigurationFile cfg,
const QString &  prefix,
unsigned int  nEntries 
)
protected
KviNickServRule * KviNickServRuleSet::matchRule ( const QString &  szNick,
const KviIrcMask nickServ,
const QString &  szMsg,
const QString &  szServer = QString::null 
)
KviPointerList<KviNickServRule>* KviNickServRuleSet::rules ( )
inline
void KviNickServRuleSet::save ( const QString &  szConfigFile)
void KviNickServRuleSet::save ( KviConfigurationFile cfg,
const QString &  prefix 
)
void KviNickServRuleSet::setEnabled ( bool  bEnabled)
inline

Member Data Documentation

bool KviNickServRuleSet::m_bEnabled
protected
KviPointerList<KviNickServRule>* KviNickServRuleSet::m_pRules
protected

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