Fix Krazy warnings about includes/header guards in Core plugin.

Change-Id: I24b4486bf749d8a649f213482fb8d075a24fc30b
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
Friedemann Kleint
2013-03-12 12:07:32 +01:00
parent ca5b956ab5
commit b488562d57
10 changed files with 15 additions and 21 deletions

View File

@@ -45,7 +45,6 @@
#include <QFileDialog> #include <QFileDialog>
#include <QLineEdit> #include <QLineEdit>
#include <QAction> #include <QAction>
#include <QKeyEvent>
#include <QTreeWidgetItem> #include <QTreeWidgetItem>
#include <QCoreApplication> #include <QCoreApplication>
#include <QDebug> #include <QDebug>

View File

@@ -39,7 +39,6 @@
#include <coreplugin/editormanager/editorview.h> #include <coreplugin/editormanager/editorview.h>
#include <coreplugin/editormanager/editormanager.h> #include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/editormanager/openeditorsmodel.h> #include <coreplugin/editormanager/openeditorsmodel.h>
#include <coreplugin/editormanager/ieditor.h>
#include <coreplugin/actionmanager/actionmanager.h> #include <coreplugin/actionmanager/actionmanager.h>
#include <coreplugin/actionmanager/command.h> #include <coreplugin/actionmanager/command.h>

View File

@@ -27,8 +27,8 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef FAKETOOLBAR_H #ifndef EDITORTOOLBAR_H
#define FAKETOOLBAR_H #define EDITORTOOLBAR_H
#include "core_global.h" #include "core_global.h"
@@ -110,4 +110,4 @@ private:
} // namespace Core } // namespace Core
#endif // FAKETOOLBAR_H #endif // EDITORTOOLBAR_H

View File

@@ -27,8 +27,8 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef FEATUREMANAGER_H #ifndef FEATUREPROVIDER_H
#define FEATUREMANAGER_H #define FEATUREPROVIDER_H
#include "core_global.h" #include "core_global.h"
@@ -148,4 +148,4 @@ inline Core::FeatureSet operator|(Core::Feature feature1, Core::FeatureSet featu
{ return feature2 | feature1; } { return feature2 | feature1; }
#endif // FEATUREANAGER_H #endif // FEATUREPROVIDER_H

View File

@@ -42,7 +42,6 @@
#include <QFileIconProvider> #include <QFileIconProvider>
#include <QIcon> #include <QIcon>
#include <QStyle>
using namespace Utils; using namespace Utils;

View File

@@ -343,7 +343,6 @@
(meaning that its widget got focus), or if the additional context ids changed. (meaning that its widget got focus), or if the additional context ids changed.
*/ */
#include "icore.h"
#include "mainwindow.h" #include "mainwindow.h"
#include "documentmanager.h" #include "documentmanager.h"

View File

@@ -27,8 +27,8 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef NAVIGATIONSSUBWIDGET_H #ifndef NAVIGATIONSUBWIDGET_H
#define NAVIGATIONSSUBWIDGET_H #define NAVIGATIONSUBWIDGET_H
#include <QComboBox> #include <QComboBox>
@@ -123,4 +123,4 @@ private:
} // namespace Internal } // namespace Internal
} // namespace Core } // namespace Core
#endif // NAVIGATIONSSUBWIDGET_H #endif // NAVIGATIONSUBWIDGET_H

View File

@@ -32,7 +32,6 @@
#include "coreconstants.h" #include "coreconstants.h"
#include "findplaceholder.h" #include "findplaceholder.h"
#include "coreconstants.h"
#include "icore.h" #include "icore.h"
#include "ioutputpane.h" #include "ioutputpane.h"
#include "mainwindow.h" #include "mainwindow.h"
@@ -66,7 +65,6 @@
#include <QStackedWidget> #include <QStackedWidget>
#include <QToolButton> #include <QToolButton>
#include <QTimeLine> #include <QTimeLine>
#include <QLabel>
namespace Core { namespace Core {
namespace Internal { namespace Internal {

View File

@@ -27,8 +27,8 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef PROGRESSPIE_H #ifndef PROGRESSBAR_H
#define PROGRESSPIE_H #define PROGRESSBAR_H
#include <QString> #include <QString>
#include <QWidget> #include <QWidget>
@@ -87,4 +87,4 @@ private:
} // namespace Internal } // namespace Internal
} // namespace Core } // namespace Core
#endif // PROGRESSPIE_H #endif // PROGRESSBAR_H

View File

@@ -27,8 +27,8 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef ANIMATION_H #ifndef STYLEANIMATOR_H
#define ANIMATION_H #define STYLEANIMATOR_H
#include <QPointer> #include <QPointer>
#include <QTime> #include <QTime>
@@ -98,4 +98,4 @@ private:
QList <Animation*> animations; QList <Animation*> animations;
}; };
#endif // ANIMATION_H #endif // STYLEANIMATOR_H