![]() |
KVIrc
4.9.2
DeveloperAPIs
|
#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) |
| KviNickServRule * | matchRule (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 KviNickServRuleSet * | createInstance () |
| static KviNickServRuleSet * | load (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 |
| 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.
| void KviNickServRuleSet::addRule | ( | KviNickServRule * | r | ) |
References KviPointerList< T >::append(), m_pRules, and KviPointerList< T >::setAutoDelete().
Referenced by OptionsWidget_nickServ::commit(), and IrcNetworkDetailsWidget::fillData().
| void KviNickServRuleSet::clear | ( | ) |
References m_bEnabled, and m_pRules.
Referenced by OptionsWidget_nickServ::commit(), and load().
| void KviNickServRuleSet::copyFrom | ( | const KviNickServRuleSet & | src | ) |
|
static |
References KviNickServRuleSet().
Referenced by IrcNetworkDetailsWidget::fillData().
|
inline |
|
inline |
| void KviNickServRuleSet::load | ( | const QString & | szConfigFile | ) |
References clear(), loadPrivate(), KviConfigurationFile::Read, and KviConfigurationFile::readUIntEntry().
Referenced by KviIrcServerDataBase::load(), and KviApplication::setup().
|
static |
References KviNickServRuleSet(), loadPrivate(), and KviConfigurationFile::readUIntEntry().
|
protected |
| KviNickServRule * KviNickServRuleSet::matchRule | ( | const QString & | szNick, |
| const KviIrcMask * | nickServ, | ||
| const QString & | szMsg, | ||
| const QString & | szServer = QString::null |
||
| ) |
References KviPointerList< T >::first(), m_pRules, KviIrcMask::matchedBy(), KviQString::matchString(), KviPointerList< T >::next(), and r.
Referenced by KviIrcServerParser::parseLiteralNotice().
|
inline |
| void KviNickServRuleSet::save | ( | const QString & | szConfigFile | ) |
References KviConfigurationFile::clear(), and KviConfigurationFile::Write.
Referenced by KviApplication::saveNickServ().
| void KviNickServRuleSet::save | ( | KviConfigurationFile * | cfg, |
| const QString & | prefix | ||
| ) |
|
inline |
Referenced by OptionsWidget_nickServ::commit(), and IrcNetworkDetailsWidget::fillData().
|
protected |
Referenced by clear(), copyFrom(), KviNickServRuleSet(), loadPrivate(), and save().
|
protected |
Referenced by addRule(), clear(), copyFrom(), KviNickServRuleSet(), loadPrivate(), matchRule(), save(), and ~KviNickServRuleSet().
1.8.7