1 #ifndef _KVI_NICKSERV_RULE_H_
2 #define _KVI_NICKSERV_RULE_H_
46 const QString & szRegisteredNick,
47 const QString & szNickServMask,
48 const QString & szMessageRegexp,
49 const QString & szIdentifyCommand,
50 const QString & szServerMask = QString::null)
52 m_szRegisteredNick(szRegisteredNick),
53 m_szNickServMask(szNickServMask),
54 m_szMessageRegexp(szMessageRegexp),
55 m_szIdentifyCommand(szIdentifyCommand),
56 m_szServerMask(szServerMask){};
63 const QString &
serverMask()
const {
return m_szServerMask; };
64 void setRegisteredNick(
const QString & szRegisteredNick) { m_szRegisteredNick = szRegisteredNick; };
65 void setNickServMask(
const QString & szNickServMask) { m_szNickServMask = szNickServMask; };
66 void setMessageRegexp(
const QString & szMessageRegexp) { m_szMessageRegexp = szMessageRegexp; };
67 void setIdentifyCommand(
const QString & szIdentifyCommand) { m_szIdentifyCommand = szIdentifyCommand; };
68 void setServerMask(
const QString & szServerMask) { m_szServerMask = szServerMask; };
71 static KviNickServRule * createInstance(
const QString & szRegisteredNick,
72 const QString & szNickServMask,
73 const QString & szMessageRegexp,
74 const QString & szIdentifyCommand,
75 const QString & szServerMask = QString::null);
83 #endif // _KVI_NICKSERV_RULE_H_
KviNickServRule(const QString &szRegisteredNick, const QString &szNickServMask, const QString &szMessageRegexp, const QString &szIdentifyCommand, const QString &szServerMask=QString::null)
Definition: KviNickServRule.h:45
void setNickServMask(const QString &szNickServMask)
Definition: KviNickServRule.h:65
Definition: KviHeapObject.h:124
const QString & nickServMask() const
Definition: KviNickServRule.h:60
Definition: KviConfigurationFile.h:48
const QString & serverMask() const
Definition: KviNickServRule.h:63
Irc user mask handling.
Definition: KviIrcMask.h:45
QString m_szServerMask
Definition: KviNickServRule.h:42
void setRegisteredNick(const QString &szRegisteredNick)
Definition: KviNickServRule.h:64
void setServerMask(const QString &szServerMask)
Definition: KviNickServRule.h:68
QString m_szNickServMask
Definition: KviNickServRule.h:39
bool save(KviThemeInfo &options, bool bSaveIcons)
Definition: KviOptions.cpp:986
KviNickServRule()
Definition: KviNickServRule.h:44
Definition: KviNickServRule.h:35
QString m_szIdentifyCommand
Definition: KviNickServRule.h:41
This file contains compile time settings.
const QString & registeredNick() const
Definition: KviNickServRule.h:59
void setMessageRegexp(const QString &szMessageRegexp)
Definition: KviNickServRule.h:66
void setIdentifyCommand(const QString &szIdentifyCommand)
Definition: KviNickServRule.h:67
QString m_szMessageRegexp
Definition: KviNickServRule.h:40
#define KVILIB_API
Definition: kvi_settings.h:125
const QString & messageRegexp() const
Definition: KviNickServRule.h:61
const QString & identifyCommand() const
Definition: KviNickServRule.h:62
QString m_szRegisteredNick
Definition: KviNickServRule.h:38