diff --git a/src/libs/extensionsystem/pluginspec.cpp b/src/libs/extensionsystem/pluginspec.cpp index e60dece35002627e09baae4b9cdfdae0b826fce1..0dd8aadc9d1298aaa96a3932b5b0e7996491cf19 100644 --- a/src/libs/extensionsystem/pluginspec.cpp +++ b/src/libs/extensionsystem/pluginspec.cpp @@ -28,7 +28,7 @@ **************************************************************************/ #include "pluginspec.h" -#include "pluginspec.h" + #include "pluginspec_p.h" #include "iplugin.h" #include "iplugin_p.h" diff --git a/src/libs/utils/fancymainwindow.cpp b/src/libs/utils/fancymainwindow.cpp index 09d05833669fb3201eafd94c4dd7d2871de1776d..078414c7fcd1765cddec2347ff49299a7086adc9 100644 --- a/src/libs/utils/fancymainwindow.cpp +++ b/src/libs/utils/fancymainwindow.cpp @@ -30,7 +30,6 @@ #include "fancymainwindow.h" #include <QtGui/QAction> -#include <QtCore/QSettings> #include <QtGui/QDockWidget> #include <QtCore/QSettings> diff --git a/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp b/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp index 0dcce6ed265a130a6ec919ef89c76efa1d20a875..229547503c2e36737d3d4ab8a5b0bd0d68079caa 100644 --- a/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp +++ b/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp @@ -30,7 +30,6 @@ #include "cmakeprojectmanager.h" #include "cmakeprojectconstants.h" #include "cmakeproject.h" -#include "cmakeprojectconstants.h" #include <coreplugin/icore.h> #include <coreplugin/uniqueidmanager.h> diff --git a/src/plugins/coreplugin/dialogs/saveitemsdialog.cpp b/src/plugins/coreplugin/dialogs/saveitemsdialog.cpp index f543380a4cd99504cd597f0d78ab5232bd3d1ce7..9e1b6a67772330a670bcf5aa754949bae3fec010 100644 --- a/src/plugins/coreplugin/dialogs/saveitemsdialog.cpp +++ b/src/plugins/coreplugin/dialogs/saveitemsdialog.cpp @@ -35,12 +35,10 @@ #include <QtCore/QDir> #include <QtCore/QFileInfo> -#include <QtCore/QDir> #include <QtGui/QPushButton> #include <QtGui/QTreeWidget> #include <QtGui/QHeaderView> #include <QtGui/QCheckBox> -#include <QtGui/QPushButton> Q_DECLARE_METATYPE(Core::IFile*); diff --git a/src/plugins/coreplugin/editormanager/editorview.h b/src/plugins/coreplugin/editormanager/editorview.h index b309a70135e4e55743db2f704550a2c99c146761..746a126d64534ef54081b9f0f625ec3fa2e985c7 100644 --- a/src/plugins/coreplugin/editormanager/editorview.h +++ b/src/plugins/coreplugin/editormanager/editorview.h @@ -43,7 +43,6 @@ #include <coreplugin/icontext.h> #include <coreplugin/ifile.h> -#include <QtCore/QMap> #include <QtGui/QSortFilterProxyModel> QT_BEGIN_NAMESPACE diff --git a/src/plugins/coreplugin/mainwindow.cpp b/src/plugins/coreplugin/mainwindow.cpp index e982d703ffe2bfced43b1bedf2323a28f5c9dc4c..4ab4bdaf56d42431ec212c1245e848c5fc3436c6 100644 --- a/src/plugins/coreplugin/mainwindow.cpp +++ b/src/plugins/coreplugin/mainwindow.cpp @@ -85,7 +85,6 @@ #include <QtGui/QShortcut> #include <QtGui/QStatusBar> #include <QtGui/QWizard> -#include <QtGui/QPrinter> #include <QtGui/QToolButton> #include <QtGui/QMessageBox> diff --git a/src/plugins/cppeditor/cppeditor.cpp b/src/plugins/cppeditor/cppeditor.cpp index 1daf077adf7b1967e917bd854495a6972abf9046..fe5b5cafa2da7e801d28418298063dcea0fd758c 100644 --- a/src/plugins/cppeditor/cppeditor.cpp +++ b/src/plugins/cppeditor/cppeditor.cpp @@ -40,7 +40,6 @@ #include <Scope.h> #include <Symbols.h> #include <Names.h> -#include <Control.h> #include <CoreTypes.h> #include <Literals.h> #include <Semantic.h> @@ -54,7 +53,6 @@ #include <cplusplus/OverviewModel.h> #include <cplusplus/SimpleLexer.h> #include <cplusplus/TokenUnderCursor.h> -#include <cplusplus/TypeOfExpression.h> #include <cplusplus/MatchingText.h> #include <cplusplus/BackwardsScanner.h> #include <cplusplus/FastPreprocessor.h> diff --git a/src/plugins/debugger/gdb/trkgdbadapter.h b/src/plugins/debugger/gdb/trkgdbadapter.h index d886ad4f33c3c4e2a6bf726771ec26dc0248f159..f3100ba2de49a9461c08f3918a4f2f59fa4debd3 100644 --- a/src/plugins/debugger/gdb/trkgdbadapter.h +++ b/src/plugins/debugger/gdb/trkgdbadapter.h @@ -43,7 +43,6 @@ #include <QtCore/QQueue> #include <QtCore/QString> #include <QtCore/QStringList> -#include <QtCore/QSharedPointer> #include <QtNetwork/QTcpServer> #include <QtNetwork/QTcpSocket> diff --git a/src/plugins/debugger/script/scriptengine.cpp b/src/plugins/debugger/script/scriptengine.cpp index bcb397ca749ffb6eb190dad11aba5daa35dcd0af..84fe6cacbbd8f8edf470149ca8f11dfd842e2127 100644 --- a/src/plugins/debugger/script/scriptengine.cpp +++ b/src/plugins/debugger/script/scriptengine.cpp @@ -38,7 +38,6 @@ #include "stackhandler.h" #include "watchhandler.h" #include "watchutils.h" -#include "moduleshandler.h" #include <utils/qtcassert.h> diff --git a/src/plugins/designer/formeditorw.cpp b/src/plugins/designer/formeditorw.cpp index 5761513bdda8516993151c6ecbfa3a6c6132a5c1..b00497cd19d7ba7f3cd31881be24601c532f791f 100644 --- a/src/plugins/designer/formeditorw.cpp +++ b/src/plugins/designer/formeditorw.cpp @@ -54,7 +54,6 @@ #include <QtDesigner/QDesignerWidgetBoxInterface> #include <QtDesigner/abstractobjectinspector.h> -#include <QtDesigner/QDesignerComponents> #include <QtDesigner/QDesignerPropertyEditorInterface> #include <QtDesigner/QDesignerActionEditorInterface> diff --git a/src/plugins/git/gitclient.cpp b/src/plugins/git/gitclient.cpp index 04d5b473c4c145385d0afee7ac71183702acb5d0..aad68a5ee02ed1164d431af2eb813984ebc2f784 100644 --- a/src/plugins/git/gitclient.cpp +++ b/src/plugins/git/gitclient.cpp @@ -44,7 +44,6 @@ #include <coreplugin/progressmanager/progressmanager.h> #include <coreplugin/uniqueidmanager.h> #include <coreplugin/filemanager.h> -#include <coreplugin/filemanager.h> #include <coreplugin/iversioncontrol.h> #include <texteditor/itexteditor.h> diff --git a/src/plugins/projectexplorer/filewatcher.h b/src/plugins/projectexplorer/filewatcher.h index 1b518e34c6fe872f7bd71b863ced739d878d41e5..fc278edb5cdfef59b1572c23b0ba6945d72b101d 100644 --- a/src/plugins/projectexplorer/filewatcher.h +++ b/src/plugins/projectexplorer/filewatcher.h @@ -36,7 +36,6 @@ #include <QtCore/QHash> #include <QtCore/QObject> #include <QtCore/QStringList> -#include <QtCore/QDateTime> #include <QtCore/QMap> QT_BEGIN_NAMESPACE diff --git a/src/plugins/projectexplorer/outputwindow.cpp b/src/plugins/projectexplorer/outputwindow.cpp index 875594e68a54b186a1f370b20b0e679b2e1e7233..8f9ba4607f04c95c0c19e1a31841cf4cd7b7b45b 100644 --- a/src/plugins/projectexplorer/outputwindow.cpp +++ b/src/plugins/projectexplorer/outputwindow.cpp @@ -49,8 +49,6 @@ #include <QtGui/QVBoxLayout> #include <QtGui/QTabWidget> -#include <QtGui/QApplication> - using namespace ProjectExplorer::Internal; using namespace ProjectExplorer; diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp index ff419e65be7ba440fa447a8c57edefb0c8287b3d..292c6b2f28f46aa58d45183c694e2b94728b91cd 100644 --- a/src/plugins/projectexplorer/projectexplorer.cpp +++ b/src/plugins/projectexplorer/projectexplorer.cpp @@ -78,10 +78,8 @@ #include <coreplugin/editormanager/iexternaleditor.h> #include <coreplugin/findplaceholder.h> #include <coreplugin/basefilewizard.h> -#include <coreplugin/mainwindow.h> #include <coreplugin/vcsmanager.h> #include <coreplugin/iversioncontrol.h> -#include <coreplugin/vcsmanager.h> #include <welcome/welcomemode.h> #include <extensionsystem/pluginmanager.h> #include <utils/consoleprocess.h> diff --git a/src/plugins/qmlprojectmanager/qmlproject.cpp b/src/plugins/qmlprojectmanager/qmlproject.cpp index 2643fdccaaaf9e646324a39186f4dfce4a96bd51..325038829ee47f56c74dee81b4f5c21a19776a4a 100644 --- a/src/plugins/qmlprojectmanager/qmlproject.cpp +++ b/src/plugins/qmlprojectmanager/qmlproject.cpp @@ -44,7 +44,6 @@ #include <qmleditor/qmlmodelmanagerinterface.h> #include <utils/synchronousprocess.h> -#include <utils/pathchooser.h> #include <QtCore/QtDebug> #include <QtCore/QDir> diff --git a/src/plugins/qt4projectmanager/qt-s60/s60devicerunconfiguration.cpp b/src/plugins/qt4projectmanager/qt-s60/s60devicerunconfiguration.cpp index a7ce8a4b4b5349daea2fa5d9782e0d2c6342af96..8e2d711656b3cdc1e6ac064c7d9026fdf2aaa9bf 100644 --- a/src/plugins/qt4projectmanager/qt-s60/s60devicerunconfiguration.cpp +++ b/src/plugins/qt4projectmanager/qt-s60/s60devicerunconfiguration.cpp @@ -48,7 +48,6 @@ #include <projectexplorer/persistentsettings.h> #include <projectexplorer/project.h> #include <projectexplorer/buildconfiguration.h> -#include <projectexplorer/persistentsettings.h> #include <debugger/debuggermanager.h> diff --git a/src/plugins/qt4projectmanager/qt-s60/s60devicerunconfigurationwidget.cpp b/src/plugins/qt4projectmanager/qt-s60/s60devicerunconfigurationwidget.cpp index ac5820c4b8699a22818d7488fe2ee343352986d7..d43048111e72446a63e42c0d5568b70a12ebcd40 100644 --- a/src/plugins/qt4projectmanager/qt-s60/s60devicerunconfigurationwidget.cpp +++ b/src/plugins/qt4projectmanager/qt-s60/s60devicerunconfigurationwidget.cpp @@ -34,7 +34,6 @@ #include "s60manager.h" #include "launcher.h" #include "bluetoothlistener.h" -#include "bluetoothlistener_gui.h" #include "serialdevicelister.h" #include <utils/detailswidget.h> diff --git a/src/plugins/qt4projectmanager/qt4buildconfiguration.h b/src/plugins/qt4projectmanager/qt4buildconfiguration.h index ea913fe308f454736bfcd266d45c829bc8bdddda..57246663a225fd6e4c9ce5bb92f84af76defb893 100644 --- a/src/plugins/qt4projectmanager/qt4buildconfiguration.h +++ b/src/plugins/qt4projectmanager/qt4buildconfiguration.h @@ -34,7 +34,6 @@ #include <projectexplorer/buildconfiguration.h> #include <projectexplorer/toolchain.h> -#include "qtversionmanager.h" namespace Qt4ProjectManager { diff --git a/src/plugins/texteditor/basetexteditor.cpp b/src/plugins/texteditor/basetexteditor.cpp index 531e25f7a7cd50d75cef3c5dfd30bea1b8247ca2..c83a0e60be4995b133eae352a61f91a0bcd0aac0 100644 --- a/src/plugins/texteditor/basetexteditor.cpp +++ b/src/plugins/texteditor/basetexteditor.cpp @@ -69,10 +69,8 @@ #include <QtGui/QPainter> #include <QtGui/QPrinter> #include <QtGui/QPrintDialog> -#include <QtGui/QPainter> #include <QtGui/QScrollBar> #include <QtGui/QShortcut> -#include <QtGui/QScrollBar> #include <QtGui/QStyle> #include <QtGui/QSyntaxHighlighter> #include <QtGui/QTextCursor> @@ -82,7 +80,6 @@ #include <QtGui/QToolTip> #include <QtGui/QInputDialog> #include <QtGui/QMenu> -#include <QtGui/QKeyEvent> using namespace TextEditor; using namespace TextEditor::Internal; diff --git a/src/plugins/texteditor/fontsettingspage.cpp b/src/plugins/texteditor/fontsettingspage.cpp index 450267ac250fefcfb8a72b0509ccf4d63592725d..c02aeb1f76af895371b198afd33f09b49a818169 100644 --- a/src/plugins/texteditor/fontsettingspage.cpp +++ b/src/plugins/texteditor/fontsettingspage.cpp @@ -49,7 +49,6 @@ #include <QtGui/QListWidget> #include <QtGui/QMessageBox> #include <QtGui/QPalette> -#include <QtGui/QPalette> #include <QtGui/QTextCharFormat> #include <QtGui/QTextEdit> #include <QtGui/QToolButton> diff --git a/src/plugins/texteditor/texteditorsettings.cpp b/src/plugins/texteditor/texteditorsettings.cpp index dd74c184325a28d8257b520bfdea8d49cb28a3fa..076448f603b8b9022dcc188890456913da7edd27 100644 --- a/src/plugins/texteditor/texteditorsettings.cpp +++ b/src/plugins/texteditor/texteditorsettings.cpp @@ -38,7 +38,6 @@ #include "fontsettingspage.h" #include "storagesettings.h" #include "tabsettings.h" -#include "texteditorconstants.h" #include "texteditorplugin.h" #include <extensionsystem/pluginmanager.h> diff --git a/src/plugins/vcsbase/vcsbaseeditor.cpp b/src/plugins/vcsbase/vcsbaseeditor.cpp index fd3f38dcf62d58cfca0b3c4b0f5938f3908aff6f..3d8ecfb73587bd3fc566d19d154c9f1b3e4e6d6f 100644 --- a/src/plugins/vcsbase/vcsbaseeditor.cpp +++ b/src/plugins/vcsbase/vcsbaseeditor.cpp @@ -35,7 +35,6 @@ #include <coreplugin/editormanager/editormanager.h> #include <coreplugin/uniqueidmanager.h> -#include <coreplugin/editormanager/editormanager.h> #include <coreplugin/ifile.h> #include <coreplugin/iversioncontrol.h> #include <extensionsystem/pluginmanager.h> diff --git a/src/shared/designerintegrationv2/formresizer.cpp b/src/shared/designerintegrationv2/formresizer.cpp index f794e5b45dac93bbadf7b72059ef97fec7533367..09d1b893e4b84ea6187b663a2852d39ed4001756 100644 --- a/src/shared/designerintegrationv2/formresizer.cpp +++ b/src/shared/designerintegrationv2/formresizer.cpp @@ -39,7 +39,6 @@ #include <QtGui/QPalette> #include <QtGui/QLayout> #include <QtGui/QFrame> -#include <QtGui/QResizeEvent> enum { debugFormResizer = 0 };