X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcoreuserinputhandler.h;h=564c12a76541a7a37debf3e470825546ecab3c5b;hb=ddf95ecafbf6d81eb9f10dc5aec588773015e71c;hp=6e69ce60599f0d8eb76f180b24b14ef942146678;hpb=b5e38970ffd55e2dd9f706ce75af9a8d7730b1b8;p=quassel.git diff --git a/src/core/coreuserinputhandler.h b/src/core/coreuserinputhandler.h index 6e69ce60..564c12a7 100644 --- a/src/core/coreuserinputhandler.h +++ b/src/core/coreuserinputhandler.h @@ -79,7 +79,13 @@ public slots: void defaultHandler(QString cmd, const BufferInfo &bufferInfo, const QString &text); - void issueQuit(const QString &reason); + /** + * Send a QUIT to the IRC server, optionally skipping the command queue. + * + * @param reason Reason for quitting, often displayed to other IRC clients + * @param forceImmediate Immediately quit, skipping queue of other commands + */ + void issueQuit(const QString &reason, bool forceImmediate = false); void issueAway(const QString &msg, bool autoCheck = true); protected: