[utilities/konsole] src: Remove some unneeded includes
Friedrich W. H. Kossebau <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit feb9d2e9e07810d65fd29a311a368f4f4abf9b6b by Friedrich W. H. Kossebau.
Committed on 07/08/2026 at 00:24.
Pushed by kossebau into branch 'master'.
Remove some unneeded includes
M +0 -1 src/autotests/CharacterWidthTest.cpp
M +0 -2 src/autotests/HistoryTest.h
M +0 -1 src/autotests/KeyboardTranslatorTest.h
M +0 -1 src/autotests/PartTest.h
M +1 -1 src/autotests/SessionTest.h
M +1 -1 src/autotests/TerminalTest.h
M +1 -1 src/autotests/ViewManagerTest.h
M +0 -3 src/filterHotSpots/Filter.h
M +0 -1 src/plugins/SSHManager/sshmanagerplugin.cpp
M +0 -1 src/plugins/SSHManager/sshmanagerpluginwidget.cpp
M +1 -2 src/tests/PartManualTest.cpp
https://invent.kde.org/utilities/konsole/-/commit/feb9d2e9e07810d65fd29a311a368f4f4abf9b6b
diff --git a/src/autotests/CharacterWidthTest.cpp b/src/autotests/CharacterWidthTest.cpp
index f8be717ac..22542d91a 100644
--- a/src/autotests/CharacterWidthTest.cpp
+++ b/src/autotests/CharacterWidthTest.cpp
@@ -11,7 +11,6 @@
#include <QTest>
#include "../characters/Character.h"
-#include "konsoleprivate_export.h"
using namespace Konsole;
diff --git a/src/autotests/HistoryTest.h b/src/autotests/HistoryTest.h
index c12c13e11..2abbbf826 100644
--- a/src/autotests/HistoryTest.h
+++ b/src/autotests/HistoryTest.h
@@ -7,8 +7,6 @@
#ifndef HISTORYTEST_H
#define HISTORYTEST_H
-#include <kde_terminal_interface.h>
-
#include "../characters/Character.h"
#include "../history/HistoryScrollFile.h"
#include "../history/HistoryScrollNone.h"
diff --git a/src/autotests/KeyboardTranslatorTest.h b/src/autotests/KeyboardTranslatorTest.h
index b558ab16d..f0222ef4e 100644
--- a/src/autotests/KeyboardTranslatorTest.h
+++ b/src/autotests/KeyboardTranslatorTest.h
@@ -7,7 +7,6 @@
#ifndef KEYBOARDTRANSLATORTEST_H
#define KEYBOARDTRANSLATORTEST_H
-#include "keyboardtranslator/KeyboardTranslator.h"
#include <QObject>
namespace Konsole
diff --git a/src/autotests/PartTest.h b/src/autotests/PartTest.h
index 55c237e56..5f1fdae3f 100644
--- a/src/autotests/PartTest.h
+++ b/src/autotests/PartTest.h
@@ -8,7 +8,6 @@
#define PARTTEST_H
#include <KParts/Part>
-#include <kde_terminal_interface.h>
namespace Konsole
{
diff --git a/src/autotests/SessionTest.h b/src/autotests/SessionTest.h
index e804a3753..586815642 100644
--- a/src/autotests/SessionTest.h
+++ b/src/autotests/SessionTest.h
@@ -7,7 +7,7 @@
#ifndef SESSIONTEST_H
#define SESSIONTEST_H
-#include <kde_terminal_interface.h>
+#include <QObject>
namespace Konsole
{
diff --git a/src/autotests/TerminalTest.h b/src/autotests/TerminalTest.h
index 410bab70a..57c8c3831 100644
--- a/src/autotests/TerminalTest.h
+++ b/src/autotests/TerminalTest.h
@@ -7,7 +7,7 @@
#ifndef TERMINALTEST_H
#define TERMINALTEST_H
-#include <kde_terminal_interface.h>
+#include <QObject>
namespace Konsole
{
diff --git a/src/autotests/ViewManagerTest.h b/src/autotests/ViewManagerTest.h
index 4ab14528a..48879405d 100644
--- a/src/autotests/ViewManagerTest.h
+++ b/src/autotests/ViewManagerTest.h
@@ -7,8 +7,8 @@
#ifndef VIEWMANAGERTEST_H
#define VIEWMANAGERTEST_H
+#include <QObject>
#include <QTemporaryDir>
-#include <kde_terminal_interface.h>
namespace Konsole
{
diff --git a/src/filterHotSpots/Filter.h b/src/filterHotSpots/Filter.h
index 09c4ca879..1b018a927 100644
--- a/src/filterHotSpots/Filter.h
+++ b/src/filterHotSpots/Filter.h
@@ -13,9 +13,6 @@
#include <QMultiHash>
#include <QPoint>
-// KDE
-#include <KFileItem>
-
#include <memory>
// Konsole
diff --git a/src/plugins/SSHManager/sshmanagerplugin.cpp b/src/plugins/SSHManager/sshmanagerplugin.cpp
index 0377359b8..69c18aafa 100644
--- a/src/plugins/SSHManager/sshmanagerplugin.cpp
+++ b/src/plugins/SSHManager/sshmanagerplugin.cpp
@@ -11,7 +11,6 @@
#include "sshmanagerpluginwidget.h"
#include "ProcessInfo.h"
-#include "konsoledebug.h"
#include "session/SessionController.h"
#include <QDockWidget>
diff --git a/src/plugins/SSHManager/sshmanagerpluginwidget.cpp b/src/plugins/SSHManager/sshmanagerpluginwidget.cpp
index fa7270a51..e802ef402 100644
--- a/src/plugins/SSHManager/sshmanagerpluginwidget.cpp
+++ b/src/plugins/SSHManager/sshmanagerpluginwidget.cpp
@@ -8,7 +8,6 @@
#include "sshmanagerpluginwidget.h"
#include "ProcessInfo.h"
-#include "konsoledebug.h"
#include "session/Session.h"
#include "session/SessionController.h"
diff --git a/src/tests/PartManualTest.cpp b/src/tests/PartManualTest.cpp
index 41307c98b..8069fdf2d 100644
--- a/src/tests/PartManualTest.cpp
+++ b/src/tests/PartManualTest.cpp
@@ -12,12 +12,11 @@
#include <QKeyEvent>
#include <QMenu>
#include <QMenuBar>
-#include <qtestkeyboard.h>
+#include <QTest>
// KDE
#include <KMainWindow>
#include <KPluginFactory>
-#include <QTest>
using namespace Konsole;