-// void useRandomServerSet(bool);
-// void performSet(const QStringList &);
-// void useAutoIdentifySet(bool);
-// void autoIdentifyServiceSet(const QString &);
-// void autoIdentifyPasswordSet(const QString &);
-// void useAutoReconnectSet(bool);
-// void autoReconnectIntervalSet(quint32);
-// void autoReconnectRetriesSet(quint16);
-// void unlimitedReconnectRetriesSet(bool);
-// void rejoinChannelsSet(bool);
-
-// void codecForServerSet(const QByteArray &codecName);
-// void codecForEncodingSet(const QByteArray &codecName);
-// void codecForDecodingSet(const QByteArray &codecName);
-
-// void supportAdded(const QString ¶m, const QString &value);
-// void supportRemoved(const QString ¶m);
-
-// void ircUserAdded(const QString &hostmask);
- void ircUserAdded(IrcUser *);
-// void ircChannelAdded(const QString &channelname);
- void ircChannelAdded(IrcChannel *);
-
-// void connectRequested() const;
-// void disconnectRequested() const;
-// void setNetworkInfoRequested(const NetworkInfo &) const;
+ // void useRandomServerSet(bool);
+ // void performSet(const QStringList &);
+ // void useAutoIdentifySet(bool);
+ // void autoIdentifyServiceSet(const QString &);
+ // void autoIdentifyPasswordSet(const QString &);
+ // void useAutoReconnectSet(bool);
+ // void autoReconnectIntervalSet(quint32);
+ // void autoReconnectRetriesSet(quint16);
+ // void unlimitedReconnectRetriesSet(bool);
+ // void rejoinChannelsSet(bool);
+
+ // Custom rate limiting (can drive other slots)
+
+ /**
+ * Signals enabling or disabling custom rate limiting
+ *
+ * @see Network::useCustomMessageRate()
+ *
+ * @param[out] useCustomRate
+ */
+ void useCustomMessageRateSet(const bool useCustomRate);
+
+ /**
+ * Signals a change in maximum number of messages to send without any delays
+ *
+ * @see Network::messageRateBurstSize()
+ *
+ * @param[out] burstSize
+ */
+ void messageRateBurstSizeSet(const quint32 burstSize);
+
+ /**
+ * Signals a change in delay between messages after the max. undelayed messages have been sent
+ *
+ * @see Network::messageRateDelay()
+ *
+ * @param[out] messageDelay
+ */
+ void messageRateDelaySet(const quint32 messageDelay);
+
+ /**
+ * Signals enabling or disabling all rate limiting
+ *
+ * @see Network::unlimitedMessageRate()
+ *
+ * @param[out] unlimitedRate
+ */
+ void unlimitedMessageRateSet(const bool unlimitedRate);
+
+ // void codecForServerSet(const QByteArray &codecName);
+ // void codecForEncodingSet(const QByteArray &codecName);
+ // void codecForDecodingSet(const QByteArray &codecName);
+
+ // void supportAdded(const QString ¶m, const QString &value);
+ // void supportRemoved(const QString ¶m);
+
+ // IRCv3 capability negotiation (can drive other slots)
+ /**
+ * Indicates a capability is now available, with optional value in Network::capValue().
+ *
+ * @see Network::addCap()
+ *
+ * @param[in] capability Name of the capability
+ */
+ void capAdded(const QString& capability);
+
+ /**
+ * Indicates a capability was acknowledged (enabled by the IRC server).
+ *
+ * @see Network::acknowledgeCap()
+ *
+ * @param[in] capability Name of the capability
+ */
+ void capAcknowledged(const QString& capability);
+
+ /**
+ * Indicates a capability was removed from the list of available capabilities.
+ *
+ * @see Network::removeCap()
+ *
+ * @param[in] capability Name of the capability
+ */
+ void capRemoved(const QString& capability);
+
+ // void ircUserAdded(const QString &hostmask);
+ void ircUserAdded(IrcUser*);
+ // void ircChannelAdded(const QString &channelname);
+ void ircChannelAdded(IrcChannel*);
+
+ // void connectRequested() const;
+ // void disconnectRequested() const;
+ // void setNetworkInfoRequested(const NetworkInfo &) const;