From 296cfc4233b6028f34699463b0582bc553dc69fc Mon Sep 17 00:00:00 2001 From: Kurt Hindenburg Date: Thu, 15 Oct 2015 18:45:11 -0400 Subject: [PATCH] remove unneeded #includes and forward classes --- src/EditProfileDialog.cpp | 3 --- src/ProfileList.h | 1 - src/TerminalDisplay.cpp | 1 - src/ViewManager.cpp | 2 -- src/Vt102Emulation.cpp | 1 - src/autotests/PartTest.h | 2 -- src/autotests/SessionManagerTest.h | 2 -- src/settings/ProfileSettings.cpp | 1 - src/tests/PartManualTest.h | 1 - 9 files changed, 14 deletions(-) diff --git a/src/EditProfileDialog.cpp b/src/EditProfileDialog.cpp index 5a7153ae1..81def73a3 100644 --- a/src/EditProfileDialog.cpp +++ b/src/EditProfileDialog.cpp @@ -52,9 +52,7 @@ #include // Konsole -#include "ColorScheme.h" #include "ColorSchemeManager.h" -#include "ColorSchemeEditor.h" #include "ui_EditProfileDialog.h" #include "KeyBindingEditor.h" #include "KeyboardTranslator.h" @@ -62,7 +60,6 @@ #include "ProfileManager.h" #include "ShellCommand.h" #include "WindowSystemInfo.h" -#include "Enumeration.h" using namespace Konsole; diff --git a/src/ProfileList.h b/src/ProfileList.h index 060846383..35bcc0f30 100644 --- a/src/ProfileList.h +++ b/src/ProfileList.h @@ -35,7 +35,6 @@ class QKeySequence; namespace Konsole { -class Profile; /** * ProfileList provides a list of actions which represent session profiles diff --git a/src/TerminalDisplay.cpp b/src/TerminalDisplay.cpp index 1dde5e079..536aea679 100644 --- a/src/TerminalDisplay.cpp +++ b/src/TerminalDisplay.cpp @@ -63,7 +63,6 @@ #include "konsole_wcwidth.h" #include "TerminalCharacterDecoder.h" #include "Screen.h" -#include "ScreenWindow.h" #include "LineFont.h" #include "SessionController.h" #include "ExtendedCharTable.h" diff --git a/src/ViewManager.cpp b/src/ViewManager.cpp index d33278e38..16e1eede3 100644 --- a/src/ViewManager.cpp +++ b/src/ViewManager.cpp @@ -44,9 +44,7 @@ #include "SessionController.h" #include "SessionManager.h" #include "ProfileManager.h" -#include "ViewContainer.h" #include "ViewSplitter.h" -#include "Profile.h" #include "Enumeration.h" using namespace Konsole; diff --git a/src/Vt102Emulation.cpp b/src/Vt102Emulation.cpp index 08ff4c951..6e1734b45 100644 --- a/src/Vt102Emulation.cpp +++ b/src/Vt102Emulation.cpp @@ -38,7 +38,6 @@ // Konsole #include "KeyboardTranslator.h" -#include "Screen.h" #include "TerminalDisplay.h" using Konsole::Vt102Emulation; diff --git a/src/autotests/PartTest.h b/src/autotests/PartTest.h index 13d924ba4..b7d07b427 100644 --- a/src/autotests/PartTest.h +++ b/src/autotests/PartTest.h @@ -25,8 +25,6 @@ #include #include -class QEvent; - namespace Konsole { diff --git a/src/autotests/SessionManagerTest.h b/src/autotests/SessionManagerTest.h index d20c04f08..6311bbc24 100644 --- a/src/autotests/SessionManagerTest.h +++ b/src/autotests/SessionManagerTest.h @@ -20,8 +20,6 @@ #ifndef SESSIONMANAGERTEST_H #define SESSIONMANAGERTEST_H -#include "../SessionManager.h" - namespace Konsole { diff --git a/src/settings/ProfileSettings.cpp b/src/settings/ProfileSettings.cpp index 92379bdf7..d6dafbf17 100644 --- a/src/settings/ProfileSettings.cpp +++ b/src/settings/ProfileSettings.cpp @@ -39,7 +39,6 @@ #include "TerminalDisplay.h" #include "SessionManager.h" #include "SessionController.h" -#include "ui_ProfileSettings.h" using namespace Konsole; diff --git a/src/tests/PartManualTest.h b/src/tests/PartManualTest.h index af7974cdc..20c487442 100644 --- a/src/tests/PartManualTest.h +++ b/src/tests/PartManualTest.h @@ -26,7 +26,6 @@ #include class QKeyEvent; -class QEvent; namespace Konsole {