[libraries/ktextaddons] textautogeneratetextmcpprotocol/plugins/server: Rename class

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit cdf47743ee20e30114a2999bed3e858c62f72b65 by Laurent Montel.
Committed on 24/07/2026 at 11:23.
Pushed by mlaurent into branch 'master'.

Rename class

M  +4    -2    textautogeneratetextmcpprotocol/plugins/server/CMakeLists.txt
M  +2    -2    textautogeneratetextmcpprotocol/plugins/server/mcpserverplugin.cpp
M  +0    -1    textautogeneratetextmcpprotocol/plugins/server/sse/mcpserversse.cpp
D  +0    -25   textautogeneratetextmcpprotocol/plugins/server/streamanblehttp/mcpserverstreamblehttpplugininterface.cpp
A  +25   -0    textautogeneratetextmcpprotocol/plugins/server/streamanblehttp/mcpserverstreamhttpplugininterface.cpp     [License: GPL(v2.0+)]
R  +3    -3    textautogeneratetextmcpprotocol/plugins/server/streamanblehttp/mcpserverstreamhttpplugininterface.h [from: textautogeneratetextmcpprotocol/plugins/server/streamanblehttp/mcpserverstreamblehttpplugininterface.h - 053% similarity]

https://invent.kde.org/libraries/ktextaddons/-/commit/cdf47743ee20e30114a2999bed3e858c62f72b65

diff --git a/textautogeneratetextmcpprotocol/plugins/server/CMakeLists.txt b/textautogeneratetextmcpprotocol/plugins/server/CMakeLists.txt
index 1208c4060..6f5280d65 100644
--- a/textautogeneratetextmcpprotocol/plugins/server/CMakeLists.txt
+++ b/textautogeneratetextmcpprotocol/plugins/server/CMakeLists.txt
@@ -22,8 +22,10 @@ target_sources(
         stdio/mcpserverstdioplugininterface.h
         stdio/mcpserverstdio.h
         stdio/mcpserverstdio.cpp
-        streamanblehttp/mcpserverstreamblehttpplugininterface.h
-        streamanblehttp/mcpserverstreamblehttpplugininterface.cpp
+        streamanblehttp/mcpserverstreamhttpplugininterface.h
+        streamanblehttp/mcpserverstreamhttpplugininterface.cpp
+        streamanblehttp/mcpserverstreamhttp.h
+        streamanblehttp/mcpserverstreamhttp.cpp
 )
 
 if(COMPILE_WITH_UNITY_CMAKE_SUPPORT)
diff --git a/textautogeneratetextmcpprotocol/plugins/server/mcpserverplugin.cpp b/textautogeneratetextmcpprotocol/plugins/server/mcpserverplugin.cpp
index e92e64b3e..902b3b734 100644
--- a/textautogeneratetextmcpprotocol/plugins/server/mcpserverplugin.cpp
+++ b/textautogeneratetextmcpprotocol/plugins/server/mcpserverplugin.cpp
@@ -9,7 +9,7 @@
 #include "mcpserverplugin.h"
 #include "sse/mcpserversseplugininterface.h"
 #include "stdio/mcpserverstdioplugininterface.h"
-#include "streamanblehttp/mcpserverstreamblehttpplugininterface.h"
+#include "streamanblehttp/mcpserverstreamhttpplugininterface.h"
 K_PLUGIN_CLASS_WITH_JSON(McpServerPlugin, "mcpserverplugin.json")
 
 McpServerPlugin::McpServerPlugin(QObject *parent, const QList<QVariant> &)
@@ -29,7 +29,7 @@ McpServerPlugin::createInterface(TextAutoGenerateTextMcpProtocolCore::McpProtoco
     case TextAutoGenerateTextMcpProtocolCore::McpProtocolPlugin::TransportType::Stdio:
         return new McpServerStdioPluginInterface(parent);
     case TextAutoGenerateTextMcpProtocolCore::McpProtocolPlugin::TransportType::StreamableHttp:
-        return new McpServerStreambleHttpPluginInterface(parent);
+        return new McpServerStreamHttpPluginInterface(parent);
     default:
         break;
     }
diff --git a/textautogeneratetextmcpprotocol/plugins/server/sse/mcpserversse.cpp b/textautogeneratetextmcpprotocol/plugins/server/sse/mcpserversse.cpp
index 33e13efb7..31b1871b4 100644
--- a/textautogeneratetextmcpprotocol/plugins/server/sse/mcpserversse.cpp
+++ b/textautogeneratetextmcpprotocol/plugins/server/sse/mcpserversse.cpp
@@ -19,7 +19,6 @@ McpServerSse::~McpServerSse() = default;
 
 void McpServerSse::connection()
 {
-    // TODO use get
     QUrl url;
     QNetworkRequest request(url);
     request.setRawHeader("Accept"_ba, "text/event-stream"_ba);
diff --git a/textautogeneratetextmcpprotocol/plugins/server/streamanblehttp/mcpserverstreamblehttpplugininterface.cpp b/textautogeneratetextmcpprotocol/plugins/server/streamanblehttp/mcpserverstreamblehttpplugininterface.cpp
deleted file mode 100644
index 78e319f53..000000000
--- a/textautogeneratetextmcpprotocol/plugins/server/streamanblehttp/mcpserverstreamblehttpplugininterface.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
-  SPDX-FileCopyrightText: 2026 Laurent Montel <[email protected]>
-
-  SPDX-License-Identifier: GPL-2.0-or-later
-*/
-#include "mcpserverstreamblehttpplugininterface.h"
-
-McpServerStreambleHttpPluginInterface::McpServerStreambleHttpPluginInterface(QObject *parent)
-    : TextAutoGenerateTextMcpProtocolCore::McpProtocolPluginInterface{parent}
-{
-}
-
-McpServerStreambleHttpPluginInterface::~McpServerStreambleHttpPluginInterface() = default;
-
-void McpServerStreambleHttpPluginInterface::start()
-{
-    // TODO
-}
-
-void McpServerStreambleHttpPluginInterface::send(const QJsonObject &obj)
-{
-    // TODO
-}
-
-#include "moc_mcpserverstreamblehttpplugininterface.cpp"
diff --git a/textautogeneratetextmcpprotocol/plugins/server/streamanblehttp/mcpserverstreamhttpplugininterface.cpp b/textautogeneratetextmcpprotocol/plugins/server/streamanblehttp/mcpserverstreamhttpplugininterface.cpp
new file mode 100644
index 000000000..2f81edd69
--- /dev/null
+++ b/textautogeneratetextmcpprotocol/plugins/server/streamanblehttp/mcpserverstreamhttpplugininterface.cpp
@@ -0,0 +1,25 @@
+/*
+  SPDX-FileCopyrightText: 2026 Laurent Montel <[email protected]>
+
+  SPDX-License-Identifier: GPL-2.0-or-later
+*/
+#include "mcpserverstreamhttpplugininterface.h"
+
+McpServerStreamHttpPluginInterface::McpServerStreamHttpPluginInterface(QObject *parent)
+    : TextAutoGenerateTextMcpProtocolCore::McpProtocolPluginInterface{parent}
+{
+}
+
+McpServerStreamHttpPluginInterface::~McpServerStreamHttpPluginInterface() = default;
+
+void McpServerStreamHttpPluginInterface::start()
+{
+    // TODO
+}
+
+void McpServerStreamHttpPluginInterface::send(const QJsonObject &obj)
+{
+    // TODO
+}
+
+#include "moc_mcpserverstreamhttpplugininterface.cpp"
diff --git a/textautogeneratetextmcpprotocol/plugins/server/streamanblehttp/mcpserverstreamblehttpplugininterface.h b/textautogeneratetextmcpprotocol/plugins/server/streamanblehttp/mcpserverstreamhttpplugininterface.h
similarity index 53%
rename from textautogeneratetextmcpprotocol/plugins/server/streamanblehttp/mcpserverstreamblehttpplugininterface.h
rename to textautogeneratetextmcpprotocol/plugins/server/streamanblehttp/mcpserverstreamhttpplugininterface.h
index 761758e21..20f7f7749 100644
--- a/textautogeneratetextmcpprotocol/plugins/server/streamanblehttp/mcpserverstreamblehttpplugininterface.h
+++ b/textautogeneratetextmcpprotocol/plugins/server/streamanblehttp/mcpserverstreamhttpplugininterface.h
@@ -8,12 +8,12 @@
 #include "common/mcpprotocolplugininterface.h"
 #include "mcpprotocolserverplugin_export.h"
 
-class MCPPROTOCOLSERVERPLUGIN_EXPORT McpServerStreambleHttpPluginInterface : public TextAutoGenerateTextMcpProtocolCore::McpProtocolPluginInterface
+class MCPPROTOCOLSERVERPLUGIN_EXPORT McpServerStreamHttpPluginInterface : public TextAutoGenerateTextMcpProtocolCore::McpProtocolPluginInterface
 {
     Q_OBJECT
 public:
-    explicit McpServerStreambleHttpPluginInterface(QObject *parent = nullptr);
-    ~McpServerStreambleHttpPluginInterface() override;
+    explicit McpServerStreamHttpPluginInterface(QObject *parent = nullptr);
+    ~McpServerStreamHttpPluginInterface() override;
 
     void start() override;
     void send(const QJsonObject &obj) override;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.