[utilities/konsole] src: IKonsolePlugin.h: do not expose KCoreAddons, use forward declaration

Friedrich W. H. Kossebau <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit b7aceb189b8f6deb112f80a878a1d8049ff2bba4 by Friedrich W. H. Kossebau.
Committed on 07/08/2026 at 00:24.
Pushed by kossebau into branch 'master'.

IKonsolePlugin.h: do not expose KCoreAddons, use forward declaration

M  +1    -0    src/plugins/QuickCommands/quickcommandsplugin.cpp
M  +1    -0    src/plugins/SSHManager/sshmanagerplugin.cpp
M  +0    -2    src/pluginsystem/IKonsolePlugin.h

https://invent.kde.org/utilities/konsole/-/commit/b7aceb189b8f6deb112f80a878a1d8049ff2bba4

diff --git a/src/plugins/QuickCommands/quickcommandsplugin.cpp b/src/plugins/QuickCommands/quickcommandsplugin.cpp
index cec487445..320a53cf1 100644
--- a/src/plugins/QuickCommands/quickcommandsplugin.cpp
+++ b/src/plugins/QuickCommands/quickcommandsplugin.cpp
@@ -15,6 +15,7 @@
 #include "MainWindow.h"
 #include <KLocalizedString>
 #include <KMessageBox>
+#include <KPluginFactory>
 
 #include <QDockWidget>
 #include <kcommandbar.h>
diff --git a/src/plugins/SSHManager/sshmanagerplugin.cpp b/src/plugins/SSHManager/sshmanagerplugin.cpp
index bbbeecacd..0377359b8 100644
--- a/src/plugins/SSHManager/sshmanagerplugin.cpp
+++ b/src/plugins/SSHManager/sshmanagerplugin.cpp
@@ -27,6 +27,7 @@
 #include <KCrash>
 #include <KLocalizedString>
 #include <KMessageBox>
+#include <KPluginFactory>
 #include <QSettings>
 #include <kcommandbar.h>
 
diff --git a/src/pluginsystem/IKonsolePlugin.h b/src/pluginsystem/IKonsolePlugin.h
index 8d7a56100..d5591f146 100644
--- a/src/pluginsystem/IKonsolePlugin.h
+++ b/src/pluginsystem/IKonsolePlugin.h
@@ -13,8 +13,6 @@
 
 #include <terminalDisplay/TerminalDisplay.h>
 
-#include <KPluginFactory>
-
 #include <memory>
 
 #include "konsoleapp_export.h"
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.