Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
e8c0d0c1
Commit
e8c0d0c1
authored
Jul 13, 2010
by
Friedemann Kleint
Browse files
Yet another include purging spree.
parent
0f21c8e6
Changes
25
Hide whitespace changes
Inline
Side-by-side
src/plugins/cppeditor/cpphoverhandler.cpp
View file @
e8c0d0c1
...
...
@@ -235,7 +235,7 @@ bool CppHoverHandler::matchDiagnosticMessage(const CPlusPlus::Document::Ptr &doc
const
int
line
)
{
foreach
(
const
Document
::
DiagnosticMessage
&
m
,
document
->
diagnosticMessages
())
{
if
(
m
.
line
()
==
line
)
{
if
(
m
.
line
()
==
unsigned
(
line
)
)
{
m_toolTip
=
m
.
text
();
return
true
;
}
...
...
@@ -246,7 +246,7 @@ bool CppHoverHandler::matchDiagnosticMessage(const CPlusPlus::Document::Ptr &doc
bool
CppHoverHandler
::
matchIncludeFile
(
const
CPlusPlus
::
Document
::
Ptr
&
document
,
const
int
line
)
{
foreach
(
const
Document
::
Include
&
includeFile
,
document
->
includes
())
{
if
(
includeFile
.
line
()
==
line
)
{
if
(
includeFile
.
line
()
==
unsigned
(
line
)
)
{
m_toolTip
=
QDir
::
toNativeSeparators
(
includeFile
.
fileName
());
const
QString
&
fileName
=
QFileInfo
(
includeFile
.
fileName
()).
fileName
();
m_helpCandidates
.
append
(
HelpCandidate
(
fileName
,
fileName
,
HelpCandidate
::
Include
));
...
...
src/plugins/projectexplorer/buildconfigdialog.cpp
View file @
e8c0d0c1
...
...
@@ -31,6 +31,7 @@
#include "project.h"
#include "runconfiguration.h"
#include "buildconfiguration.h"
#include "target.h"
#include <QtGui/QVBoxLayout>
#include <QtGui/QPushButton>
...
...
src/plugins/projectexplorer/compileoutputwindow.cpp
View file @
e8c0d0c1
...
...
@@ -38,6 +38,7 @@
#include <QtGui/QKeyEvent>
#include <QtGui/QIcon>
#include <QtGui/QTextCharFormat>
#include <QtGui/QTextBlock>
#include <QtGui/QTextCursor>
#include <QtGui/QTextEdit>
...
...
src/plugins/projectexplorer/compileoutputwindow.h
View file @
e8c0d0c1
...
...
@@ -34,11 +34,9 @@
#include <QtCore/QHash>
#include <QtGui/QColor>
#include <QtGui/QTextCharFormat>
QT_BEGIN_NAMESPACE
class
QPlainTextEdit
;
class
QTextCharFormat
;
QT_END_NAMESPACE
namespace
ProjectExplorer
{
...
...
src/plugins/projectexplorer/customexecutablerunconfiguration.cpp
View file @
e8c0d0c1
...
...
@@ -38,6 +38,7 @@
#include <utils/detailswidget.h>
#include <utils/pathchooser.h>
#include <QtCore/QDir>
#include <QtGui/QCheckBox>
#include <QtGui/QComboBox>
#include <QtGui/QDialog>
...
...
src/plugins/projectexplorer/miniprojecttargetselector.cpp
View file @
e8c0d0c1
...
...
@@ -30,6 +30,7 @@
#include "miniprojecttargetselector.h"
#include "buildconfigurationmodel.h"
#include "runconfigurationmodel.h"
#include "target.h"
#include <utils/qtcassert.h>
#include <utils/styledbar.h>
...
...
src/plugins/projectexplorer/outputwindow.cpp
View file @
e8c0d0c1
...
...
@@ -33,6 +33,7 @@
#include "projectexplorersettings.h"
#include "runconfiguration.h"
#include "session.h"
#include "outputformatter.h"
#include <coreplugin/actionmanager/actionmanager.h>
#include <coreplugin/actionmanager/actioncontainer.h>
...
...
@@ -56,6 +57,7 @@
#include <QtGui/QVBoxLayout>
#include <QtGui/QTabWidget>
#include <QtGui/QToolButton>
#include <QtGui/QShowEvent>
using
namespace
ProjectExplorer
::
Internal
;
using
namespace
ProjectExplorer
;
...
...
src/plugins/projectexplorer/outputwindow.h
View file @
e8c0d0c1
...
...
@@ -31,12 +31,9 @@
#define OUTPUTWINDOW_H
#include <coreplugin/ioutputpane.h>
#include <projectexplorer/outputformatter.h>
#include <QtCore/QObject>
#include <QtCore/QHash>
#include <QtGui/QIcon>
#include <QtGui/QShowEvent>
#include <QtGui/QPlainTextEdit>
QT_BEGIN_NAMESPACE
...
...
@@ -50,7 +47,7 @@ namespace Core {
}
namespace
ProjectExplorer
{
class
OutputFormatter
;
class
RunControl
;
namespace
Constants
{
...
...
src/plugins/projectexplorer/project.h
View file @
e8c0d0c1
...
...
@@ -31,7 +31,6 @@
#define PROJECT_H
#include "projectexplorer_export.h"
#include "target.h"
#include <QtCore/QObject>
#include <QtCore/QSet>
...
...
src/plugins/projectexplorer/projectwindow.cpp
View file @
e8c0d0c1
...
...
@@ -59,6 +59,7 @@
#include <QtGui/QScrollArea>
#include <QtGui/QLabel>
#include <QtGui/QPainter>
#include <QtGui/QStackedWidget>
#include <QtGui/QPaintEvent>
#include <QtGui/QMenu>
...
...
src/plugins/projectexplorer/projectwindow.h
View file @
e8c0d0c1
...
...
@@ -30,22 +30,13 @@
#ifndef PROJECTWINDOW_H
#define PROJECTWINDOW_H
#include "iprojectproperties.h"
#include <QtCore/QPair>
#include <QtCore/QMap>
#include <QtGui/QApplication>
#include <QtGui/QComboBox>
#include <QtGui/QLabel>
#include <QtGui/QPushButton>
#include <QtGui/QScrollArea>
#include <QtGui/QStackedWidget>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class
QLabel
;
class
QGridLayout
;
class
QMenu
;
class
QStackedWidget
;
QT_END_NAMESPACE
namespace
ProjectExplorer
{
...
...
@@ -105,7 +96,6 @@ private:
QList
<
ProjectExplorer
::
Project
*>
m_tabIndexToProject
;
};
}
// namespace Internal
}
// namespace ProjectExplorer
...
...
src/plugins/projectexplorer/runsettingspropertiespage.h
View file @
e8c0d0c1
...
...
@@ -33,7 +33,6 @@
#include "iprojectproperties.h"
#include <QtGui/QWidget>
#include <QtCore/QAbstractListModel>
QT_BEGIN_NAMESPACE
class
QMenu
;
...
...
src/plugins/projectexplorer/target.h
View file @
e8c0d0c1
...
...
@@ -33,8 +33,6 @@
#include "projectconfiguration.h"
#include "projectexplorer_export.h"
#include <QtCore/QObject>
#include <QtGui/QFileSystemModel>
#include <QtGui/QIcon>
namespace
ProjectExplorer
{
...
...
src/plugins/projectexplorer/targetsettingspanel.cpp
View file @
e8c0d0c1
...
...
@@ -43,6 +43,7 @@
#include <QtGui/QMenu>
#include <QtGui/QMessageBox>
#include <QtGui/QVBoxLayout>
#include <QtGui/QStackedWidget>
using
namespace
ProjectExplorer
;
using
namespace
ProjectExplorer
::
Internal
;
...
...
src/plugins/projectexplorer/targetsettingspanel.h
View file @
e8c0d0c1
...
...
@@ -30,19 +30,18 @@
#ifndef TARGETSETTINGSPANEL_H
#define TARGETSETTINGSPANEL_H
#include "iprojectproperties.h"
#include <QtGui/QStackedWidget>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class
QAction
;
class
QMenu
;
class
QStackedWidget
;
QT_END_NAMESPACE
namespace
ProjectExplorer
{
class
Target
;
class
Project
;
namespace
Internal
{
...
...
src/plugins/projectexplorer/taskhub.h
View file @
e8c0d0c1
...
...
@@ -31,7 +31,7 @@
#define TASKHUB_H
#include "task.h"
#include "projectexplorer_export.h"
#include <QtCore/QObject>
#include <QtGui/QIcon>
...
...
src/plugins/projectexplorer/taskwindow.h
View file @
e8c0d0c1
...
...
@@ -30,17 +30,17 @@
#ifndef TASKWINDOW_H
#define TASKWINDOW_H
#include "task.h"
#include <coreplugin/ioutputpane.h>
#include <QtGui/QIcon>
QT_BEGIN_NAMESPACE
class
QAction
;
class
QModelIndex
;
class
QPoint
;
QT_END_NAMESPACE
namespace
ProjectExplorer
{
class
TaskHub
;
class
Task
;
namespace
Internal
{
class
TaskWindowPrivate
;
...
...
src/plugins/projectexplorer/vcsannotatetaskhandler.h
View file @
e8c0d0c1
...
...
@@ -34,9 +34,6 @@
#include "itaskhandler.h"
#include <QtCore/QHash>
#include <QtCore/QString>
namespace
Core
{
class
IVersionControl
;
}
...
...
src/plugins/qt4projectmanager/gettingstartedwelcomepagewidget.h
View file @
e8c0d0c1
...
...
@@ -30,7 +30,7 @@
#ifndef GETTINGSTARTEDWELCOMEPAGEWIDGET_H
#define GETTINGSTARTEDWELCOMEPAGEWIDGET_H
#include <QWidget>
#include <
QtGui/
QWidget>
namespace
Qt4ProjectManager
{
namespace
Internal
{
...
...
src/plugins/qt4projectmanager/projectloadwizard.cpp
View file @
e8c0d0c1
...
...
@@ -35,6 +35,7 @@
#include "makestep.h"
#include "qt4buildconfiguration.h"
#include "qt4projectmanagerconstants.h"
#include "qtversionmanager.h"
#include "wizards/targetsetuppage.h"
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment