X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcoreuserinputhandler.h;h=26e850005a6df23d0367482cd0540dcce3984c6b;hb=48017b680ede0dbfb121d1184dfbd13536cfc53f;hp=0c1be566d460f1a87f5502da95e1a3e58bcd74a9;hpb=c1cf157116de7fc3da96203aa6f03c38c7ebb650;p=quassel.git diff --git a/src/core/coreuserinputhandler.h b/src/core/coreuserinputhandler.h index 0c1be566..26e85000 100644 --- a/src/core/coreuserinputhandler.h +++ b/src/core/coreuserinputhandler.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * + * Copyright (C) 2005-2020 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -18,8 +18,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef COREUSERINPUTHANDLER_H -#define COREUSERINPUTHANDLER_H +#pragma once #include @@ -80,6 +79,13 @@ public slots: void handleQuote(const BufferInfo& bufferInfo, const QString& text); void handleSay(const BufferInfo& bufferInfo, const QString& text); void handleSetkey(const BufferInfo& bufferInfo, const QString& text); + /** + * Handle the setname command, setting the user's realname + * + * @param bufferInfo Currently active buffer + * @param text New realname + */ + void handleSetname(const BufferInfo& bufferInfo, const QString& text); void handleShowkey(const BufferInfo& bufferInfo, const QString& text); void handleTopic(const BufferInfo& bufferInfo, const QString& text); void handleVoice(const BufferInfo& bufferInfo, const QString& text); @@ -135,5 +141,3 @@ private: QHash _delayedCommands; }; - -#endif