void removeSupport(const QString ¶m);
inline void addIrcUser(const QString &hostmask) { newIrcUser(hostmask); }
- void removeIrcUser(QString nick);
+ void removeIrcUser(const QString &nick);
+ void removeIrcChannel(const QString &channel);
//init geters
QVariantMap initSupports() const;
void emitConnectionError(const QString &);
private slots:
- void ircUserDestroyed();
void channelDestroyed();
void removeIrcUser(IrcUser *ircuser);
+ void removeIrcChannel(IrcChannel *ircChannel);
+ void removeChansAndUsers();
void ircUserInitDone();
void ircChannelInitDone();
void ircChannelAdded(IrcChannel *);
void ircUserRemoved(const QString &nick);
+ void ircChannelRemoved(const QString &channel);
// needed for client sync progress
void ircUserRemoved(QObject *);
NetworkId networkId;
QString networkName;
IdentityId identity;
+
+ bool useCustomEncodings;
QByteArray codecForEncoding;
QByteArray codecForDecoding;
+
+ // Server entry: QString "Host", uint "Port", QString "Password", bool "UseSSL"
QVariantList serverList;
+ bool useRandomServer;
+
+ QStringList perform;
+
+ bool useAutoIdentify;
+ QString autoIdentifyService;
+ QString autoIdentifyPassword;
+
+ bool useAutoReconnect;
+ quint32 autoReconnectInterval;
+ qint16 autoReconnectRetries; // -1 => Unlimited
+ bool rejoinChannels;
bool operator==(const NetworkInfo &other) const;
bool operator!=(const NetworkInfo &other) const;