Commit b6263595 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

If include is define in .h remove it if it's defined in .cpp too (scripted)

parent b44542c8
......@@ -20,7 +20,6 @@
#include "KeyBindingEditor.h"
// Qt
#include <QDialog>
#include <QDialogButtonBox>
#include <QKeyEvent>
#include <QIcon>
......
......@@ -23,7 +23,6 @@
// Qt
#include <QWidget>
#include <QVector>
#include <QGridLayout>
using namespace Konsole;
......
......@@ -39,7 +39,6 @@
#include "KonsoleSettings.h"
#include "ViewManager.h"
#include "profile/ProfileManager.h"
#include "session/Session.h"
#include "session/SessionController.h"
#include "session/SessionManager.h"
#include "settings/PartInfo.h"
......
......@@ -21,7 +21,6 @@
#include "ScreenWindow.h"
// Konsole
#include "Screen.h"
using namespace Konsole;
......
......@@ -40,7 +40,6 @@
#include "session/SessionController.h"
#include "terminalDisplay/TerminalDisplay.h"
#include "EscapeSequenceUrlExtractor.h"
#include "Screen.h"
using Konsole::Vt102Emulation;
......
......@@ -29,7 +29,6 @@
// KDE
#include <KPluginLoader>
#include <KPluginFactory>
#include <KParts/Part>
#include <KPtyProcess>
#include <KPtyDevice>
#include <qtest.h>
......
......@@ -26,7 +26,6 @@
#include "LineBlockCharacters.h"
// Qt
#include <QPainter>
#include <QPainterPath>
namespace Konsole {
......
......@@ -36,7 +36,6 @@
// Konsole
#include "colorschemedebug.h"
#include "ColorSchemeWallpaper.h"
namespace {
const int FGCOLOR_INDEX = 0;
......
......@@ -20,7 +20,6 @@
#include "FilterChain.h"
#include "Filter.h"
#include "HotSpot.h"
#include "terminalDisplay/TerminalDisplay.h"
......
......@@ -20,7 +20,6 @@
#include "RegExpFilter.h"
#include <QRegularExpression>
#include "RegExpFilterHotspot.h"
......
......@@ -22,7 +22,6 @@
#include "CompactHistoryBlockList.h"
// Qt
#include <QList>
using namespace Konsole;
......
......@@ -23,7 +23,6 @@
#include "ProfileCommandParser.h"
// Konsole
#include "Profile.h"
// Qt
#include <QHash>
......
......@@ -23,7 +23,6 @@
#include "ProfileGroup.h"
// Konsole
#include "Profile.h"
using namespace Konsole;
......
......@@ -28,7 +28,6 @@
// Qt
#include <QDir>
#include <QFileInfo>
#include <QList>
#include <QString>
// KDE
......
......@@ -34,7 +34,6 @@
#include <QColor>
#include <QDir>
#include <QFile>
#include <QStringList>
#include <QKeyEvent>
// KDE
......
......@@ -71,7 +71,6 @@
// Konsole
#include "CopyInputDialog.h"
#include "Emulation.h"
#include "Enumeration.h"
#include "HistorySizeDialog.h"
#include "RenameTabDialog.h"
#include "SaveHistoryTask.h"
......@@ -93,7 +92,6 @@
#include "profile/ProfileList.h"
#include "Session.h"
#include "SessionGroup.h"
#include "SessionManager.h"
......
......@@ -34,7 +34,6 @@
#include <KPluginLoader>
#include <KPluginFactory>
#include <KService>
#include <KParts/Part>
#include <KMainWindow>
#include <qtest.h>
......
......@@ -56,13 +56,11 @@
#include "colorscheme/ColorSchemeManager.h"
#include "keyboardtranslator/KeyboardTranslator.h"
#include "keyboardtranslator/KeyboardTranslatorManager.h"
#include "KeyBindingEditor.h"
#include "profile/ProfileManager.h"
#include "ShellCommand.h"
#include "WindowSystemInfo.h"
#include "FontDialog.h"
using namespace Konsole;
......
......@@ -39,14 +39,12 @@
#include "widgets/IncrementalSearchBar.h"
#include "ViewProperties.h"
#include "profile/ProfileList.h"
#include "ViewManager.h"
#include "KonsoleSettings.h"
#include "session/SessionController.h"
#include "DetachableTabBar.h"
#include "terminalDisplay/TerminalDisplay.h"
#include "widgets/ViewSplitter.h"
#include "MainWindow.h"
#include "session/Session.h"
// TODO Perhaps move everything which is Konsole-specific into different files
......
......@@ -20,7 +20,6 @@
*/
#include <QDebug>
#include <QString>
#include <QRegularExpression>
#include <QRegularExpressionMatch>
#include "template.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment