+ bool checkParamCount(IrcEvent* event, int minParams);
+ inline CoreNetwork* coreNetwork(NetworkEvent* e) const { return qobject_cast<CoreNetwork*>(e->network()); }
+ void tryNextNick(NetworkEvent* e, const QString& errnick, bool erroneous = false);
+
+private slots:
+ //! Joins after a netsplit
+ /** This slot handles a bulk-join after a netsplit is over
+ * \param net The network
+ * \param channel The channel the users joined
+ * \param users The list of users that joind the channel
+ * \param modes The list of modes the users get set
+ * \param quitMessage The message we received when the netsplit occured
+ */
+ void handleNetsplitJoin(Network* net, const QString& channel, const QStringList& users, const QStringList& modes, const QString& quitMessage);
+
+ //! Quits after a netsplit
+ /** This slot handles a bulk-quit after a netsplit occured
+ * \param net The network
+ * \param channel The channel the users quitted
+ * \param users The list of users that got split
+ * \param quitMessage The message we received when the netsplit occured
+ */
+ void handleNetsplitQuit(Network* net, const QString& channel, const QStringList& users, const QString& quitMessage);
+
+ //! Netsplit finished
+ /** This slot deletes the netsplit object that sent the finished() signal
+ */
+ void handleNetsplitFinished();
+
+ void handleEarlyNetsplitJoin(Network* net, const QString& channel, const QStringList& users, const QStringList& modes);
+
+ //! Destroy any existing netsplits
+ /** This slot deletes all netsplit objects
+ * Used to get rid of existing netsplits on network reconnect
+ * \param network The network we want to clear
+ */
+ void destroyNetsplits(NetworkId network);