X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoreuserinputhandler.h;h=ee9c7a925bba46aa01426996dbbf04a5a63b4632;hp=6e69ce60599f0d8eb76f180b24b14ef942146678;hb=35ca85f1c4371ee28d00d5ff0195a5b44aadb299;hpb=b5e38970ffd55e2dd9f706ce75af9a8d7730b1b8 diff --git a/src/core/coreuserinputhandler.h b/src/core/coreuserinputhandler.h index 6e69ce60..ee9c7a92 100644 --- a/src/core/coreuserinputhandler.h +++ b/src/core/coreuserinputhandler.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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: