1 #ifndef _KVI_NICKSERV_RULE_SET_H_
2 #define _KVI_NICKSERV_RULE_SET_H_
52 void setEnabled(
bool bEnabled) { m_bEnabled = bEnabled; };
53 bool isEmpty() {
return m_pRules ? m_pRules->isEmpty() :
true; };
55 KviNickServRule * matchRule(
const QString & szNick,
const KviIrcMask * nickServ,
const QString & szMsg,
const QString & szServer = QString::null);
57 void load(
const QString & szConfigFile);
58 void save(
const QString & szConfigFile);
67 #endif // _KVI_NICKSERV_RULE_SET_H_
Definition: KviHeapObject.h:124
void setEnabled(bool bEnabled)
Definition: KviNickServRuleSet.h:52
Definition: KviNickServRuleSet.h:36
bool isEnabled()
Definition: KviNickServRuleSet.h:51
Definition: KviConfigurationFile.h:48
bool isEmpty()
Definition: KviNickServRuleSet.h:53
Irc user mask handling.
Definition: KviIrcMask.h:45
char s char s s
Definition: KviIrcNumericCodes.h:391
KviPointerList< KviNickServRule > * rules()
Definition: KviNickServRuleSet.h:60
bool save(KviThemeInfo &options, bool bSaveIcons)
Definition: KviOptions.cpp:986
bool m_bEnabled
Definition: KviNickServRuleSet.h:45
KviPointerList< KviNickServRule > * m_pRules
Definition: KviNickServRuleSet.h:44
#define r
Definition: detector.cpp:82
Definition: KviNickServRule.h:35
C++ Template based double linked pointer list class.
This file contains compile time settings.
#define KVILIB_API
Definition: kvi_settings.h:125
Helper functions for the QString class.