- * @returns Name of capability to request
- */
- QString takeQueuedCap();
-
- // Specific capabilities for easy reference
-
- /**
- * Gets the status of the sasl authentication capability.
- *
- * http://ircv3.net/specs/extensions/sasl-3.2.html
- *
- * @returns True if SASL authentication is enabled, otherwise false
- */
- inline bool useCapSASL() const { return capEnabled("sasl"); }
-
- /**
- * Gets the status of the away-notify capability.
- *
- * http://ircv3.net/specs/extensions/away-notify-3.1.html
- *
- * @returns True if away-notify is enabled, otherwise false
- */
- inline bool useCapAwayNotify() const { return capEnabled("away-notify"); }
-
- /**
- * Gets the status of the account-notify capability.
- *
- * http://ircv3.net/specs/extensions/account-notify-3.1.html
- *
- * @returns True if account-notify is enabled, otherwise false
- */
- inline bool useCapAccountNotify() const { return capEnabled("account-notify"); }
-
- /**
- * Gets the status of the extended-join capability.
- *
- * http://ircv3.net/specs/extensions/extended-join-3.1.html
- *
- * @returns True if extended-join is enabled, otherwise false