38 #include <QStringList>
95 inline const QString &
name()
const {
return m_szName; };
104 inline const QString &
encoding()
const {
return m_szEncoding; };
112 inline const QString &
textEncoding()
const {
return m_szTextEncoding; };
118 inline const QString &
description()
const {
return m_szDescription; };
124 inline const QString &
nickName()
const {
return m_szNickName; };
136 inline const QString &
realName()
const {
return m_szRealName; };
142 inline const QString &
userName()
const {
return m_szUserName; };
148 inline const QString &
password()
const {
return m_szPass; };
211 inline void setName(
const QString & szName) { m_szName = szName; };
221 inline void setEncoding(
const QString & szEncoding) { m_szEncoding = szEncoding; };
230 inline void setTextEncoding(
const QString & szEncoding) { m_szTextEncoding = szEncoding; };
237 inline void setDescription(
const QString & szDescription) { m_szDescription = szDescription; };
258 inline void setNickName(
const QString & szNick) { m_szNickName = szNick; };
272 inline void setRealName(
const QString & szReal) { m_szRealName = szReal; };
279 inline void setUserName(
const QString & szUser) { m_szUserName = szUser; };
286 inline void setPassword(
const QString & szPass) { m_szPass = szPass; };
293 void setAutoJoinChannelList(QStringList * pNewChannelList);
300 void setAutoJoinChannelList(
const QString & szNewChannelList);
307 inline void setAutoConnect(
bool bAutoConnect) { m_bAutoConnect = bAutoConnect; };
314 inline void setUserIdentityId(
const QString & szUserIdentityId) { m_szUserIdentityId = szUserIdentityId; };
357 #endif // KVI_NETWORK_H_
const QString & description() const
Returns the description of the network.
Definition: KviIrcNetwork.h:118
const QString & nickName() const
Returns the nickname of the user associated to the network.
Definition: KviIrcNetwork.h:124
Definition: KviHeapObject.h:124
QString m_szDescription
Definition: KviIrcNetwork.h:73
void setOnConnectCommand(const QString &szCmd)
Sets the list of commands to run on network connection.
Definition: KviIrcNetwork.h:244
The class which manages the irc servers.
Definition: KviIrcServer.h:51
Definition: KviNickServRuleSet.h:36
const QString & onLoginCommand() const
Returns the commands to run on network login.
Definition: KviIrcNetwork.h:154
void setRealName(const QString &szReal)
Sets the realname of the user associated to the network.
Definition: KviIrcNetwork.h:272
const QString & alternativeNickName() const
Returns the alternative nickname of the user associated to the network.
Definition: KviIrcNetwork.h:130
void setUserName(const QString &szUser)
Sets the username of the user associated to the network.
Definition: KviIrcNetwork.h:279
QStringList * autoJoinChannelList()
Returns the list of channels with autojoin flag.
Definition: KviIrcNetwork.h:178
bool m_bAutoConnect
Definition: KviIrcNetwork.h:85
const QString & userName() const
Returns the username of the user associated to the network.
Definition: KviIrcNetwork.h:142
QString m_szRealName
Definition: KviIrcNetwork.h:79
QStringList * m_pChannelList
Definition: KviIrcNetwork.h:83
void setTextEncoding(const QString &szEncoding)
Sets the text encondig of the network.
Definition: KviIrcNetwork.h:230
const QString & encoding() const
Returns the encoding of the network.
Definition: KviIrcNetwork.h:104
QString m_szOnLoginCommand
Definition: KviIrcNetwork.h:82
Network handling class.
Definition: KviIrcNetwork.h:47
KviNickServRuleSet * m_pNickServRuleSet
Definition: KviIrcNetwork.h:84
KviPointerList< KviIrcServer > * m_pServerList
Definition: KviIrcNetwork.h:87
const QString & name() const
Returns the name of the network.
Definition: KviIrcNetwork.h:95
QString m_szUserName
Definition: KviIrcNetwork.h:78
QString m_szUserIdentityId
Definition: KviIrcNetwork.h:86
QString m_szAlternativeNickName
Definition: KviIrcNetwork.h:77
KviIrcServer * m_pCurrentServer
Definition: KviIrcNetwork.h:88
QString m_szTextEncoding
Definition: KviIrcNetwork.h:75
const QString & textEncoding() const
Returns the text encoding of the network.
Definition: KviIrcNetwork.h:112
bool autoConnect() const
Returns true if the network has the autoconnect state on.
Definition: KviIrcNetwork.h:172
const QString autoJoinChannelListAsString()
Returns the list of channels with autojoin flag as a string.
Definition: KviIrcNetwork.h:184
QString m_szEncoding
Definition: KviIrcNetwork.h:74
void setAlternativeNickName(const QString &szNick)
Sets the alternative nickname of the user associated to the network.
Definition: KviIrcNetwork.h:265
KviNickServRuleSet * nickServRuleSet()
Returns a set of rules for the NickServ.
Definition: KviIrcNetwork.h:190
C++ Template based double linked pointer list class.
QString m_szNickName
Definition: KviIrcNetwork.h:76
void setOnLoginCommand(const QString &szCmd)
Sets the list of commands to run on network login.
Definition: KviIrcNetwork.h:251
const QString & userIdentityId() const
Returns the user identity of the user associated to the network.
Definition: KviIrcNetwork.h:166
QString m_szOnConnectCommand
Definition: KviIrcNetwork.h:81
QString name()
Definition: KviRuntimeInfo.cpp:655
const QString & password() const
Returns the password of the user associated to the network.
Definition: KviIrcNetwork.h:148
QString m_szName
Definition: KviIrcNetwork.h:72
KviPointerList< KviIrcServer > * serverList()
Returns a list of servers associated to the network.
Definition: KviIrcNetwork.h:320
void setPassword(const QString &szPass)
Sets the password of the user associated to the network.
Definition: KviIrcNetwork.h:286
void setAutoConnect(bool bAutoConnect)
Sets the autoconnect flag.
Definition: KviIrcNetwork.h:307
This file contains compile time settings.
const QString & onConnectCommand() const
Returns the commands to run on network connect.
Definition: KviIrcNetwork.h:160
Irc server database handling class.
Definition: KviIrcServerDataBase.h:63
QString m_szPass
Definition: KviIrcNetwork.h:80
#define KVILIB_API
Definition: kvi_settings.h:125
void setUserIdentityId(const QString &szUserIdentityId)
Sets the user identity id of the user associated to the network.
Definition: KviIrcNetwork.h:314
void setName(const QString &szName)
Sets the name of the network.
Definition: KviIrcNetwork.h:211
void setNickName(const QString &szNick)
Sets the nickname of the user associated to the network.
Definition: KviIrcNetwork.h:258
void setDescription(const QString &szDescription)
Sets the description of the network.
Definition: KviIrcNetwork.h:237
const QString & realName() const
Returns the realname of the user associated to the network.
Definition: KviIrcNetwork.h:136
void setEncoding(const QString &szEncoding)
Sets the encondig of the network.
Definition: KviIrcNetwork.h:221