cmake: avoid de-duplication of user's CXXFLAGS
[quassel.git] / src / core / coreuserinputhandler.h
index c2d249c..4a7e0c5 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-2019 by the Quassel Project                        *
+ *   Copyright (C) 2005-2022 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 <utility>
 
@@ -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<int, Command> _delayedCommands;
 };
-
-#endif