Fix Krazy warnings about includes/header guards in Python Editor.

Change-Id: I3dce1d8f14d4bfc271d8873eb3ad819eb336e2df
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
Friedemann Kleint
2013-03-12 12:05:32 +01:00
parent dc95392aa4
commit dc1f0b0752
11 changed files with 25 additions and 25 deletions

View File

@@ -32,10 +32,10 @@
This editor makes possible to edit Python source files
*/
#include "pythoneditor.h"
#include "pythoneditorconstants.h"
#include "pythoneditorplugin.h"
#include "pythoneditorwidget.h"
#include "pythoneditor.h"
#include <coreplugin/icore.h>
#include <coreplugin/mimedatabase.h>

View File

@@ -27,10 +27,10 @@
**
****************************************************************************/
#include "pythoneditorfactory.h"
#include "pythoneditorconstants.h"
#include "pythoneditorwidget.h"
#include "pythoneditorplugin.h"
#include "pythoneditorfactory.h"
#include <coreplugin/icore.h>
#include <coreplugin/editormanager/editormanager.h>

View File

@@ -27,8 +27,8 @@
**
****************************************************************************/
#ifndef PYTHONEDITOR_EDITORFACTORY_H
#define PYTHONEDITOR_EDITORFACTORY_H
#ifndef PYTHONEDITORFACTORY_H
#define PYTHONEDITORFACTORY_H
#include "pythoneditor_global.h"
#include <coreplugin/editormanager/ieditorfactory.h>
@@ -70,4 +70,4 @@ private:
} // namespace PythonEditor
#endif // PYTHONEDITOR_EDITORFACTORY_H
#endif // PYTHONEDITORFACTORY_H

View File

@@ -33,10 +33,10 @@
Represents editor as plain text editor.
*/
#include "pythoneditorwidget.h"
#include "tools/pythonhighlighter.h"
#include "tools/pythonindenter.h"
#include "pythoneditor.h"
#include "pythoneditorwidget.h"
#include <texteditor/fontsettings.h>
#include <texteditor/texteditorconstants.h>

View File

@@ -27,8 +27,8 @@
**
****************************************************************************/
#ifndef PYTHONEDITOR_EDITORWIDGET_H
#define PYTHONEDITOR_EDITORWIDGET_H
#ifndef PYTHONEDITORWIDGET_H
#define PYTHONEDITORWIDGET_H
#include "pythoneditor_global.h"
@@ -59,4 +59,4 @@ private:
} // namespace PythonEditor
#endif // PYTHONEDITOR_EDITORWIDGET_H
#endif // PYTHONEDITORWIDGET_H

View File

@@ -27,8 +27,8 @@
**
****************************************************************************/
#ifndef PYTHONEDITOR_FORMATTOKEN_H
#define PYTHONEDITOR_FORMATTOKEN_H
#ifndef PYTHONFORMATTOKEN_H
#define PYTHONFORMATTOKEN_H
#include <stdlib.h>
@@ -78,4 +78,4 @@ private:
} // namespace Internal
} // namespace PythonEditor
#endif // PYTHONEDITOR_FORMATTOKEN_H
#endif // PYTHONFORMATTOKEN_H

View File

@@ -27,9 +27,9 @@
**
****************************************************************************/
#include "pythonscanner.h"
#include "../../pythoneditorconstants.h"
#include "../../pythoneditorplugin.h"
#include "pythonscanner.h"
#include <QString>
#include <QSet>

View File

@@ -27,8 +27,8 @@
**
****************************************************************************/
#ifndef PYTHONEDITOR_SCANNER_H
#define PYTHONEDITOR_SCANNER_H
#ifndef PYTHONSCANNER_H
#define PYTHONSCANNER_H
#include "pythonformattoken.h"
#include "sourcecodestream.h"
@@ -90,4 +90,4 @@ private:
} // namespace Internal
} // namespace PythonEditor
#endif // PYTHONEDITOR_SCANNER_H
#endif // PYTHONSCANNER_H

View File

@@ -27,8 +27,8 @@
**
****************************************************************************/
#ifndef PYTHONEDITOR_HIGHLIGHTER_H
#define PYTHONEDITOR_HIGHLIGHTER_H
#ifndef PYTHONHIGHLIGHTER_H
#define PYTHONHIGHLIGHTER_H
#include "../pythoneditor_global.h"
#include <texteditor/syntaxhighlighter.h>
@@ -59,4 +59,4 @@ private:
} // namespace PythonEditor
#endif // PYTHONEDITOR_HIGHLIGHTER_H
#endif // PYTHONHIGHLIGHTER_H

View File

@@ -27,8 +27,8 @@
**
****************************************************************************/
#ifndef PYTHONEDITOR_INDENTER_H
#define PYTHONEDITOR_INDENTER_H
#ifndef PYTHONINDENTER_H
#define PYTHONINDENTER_H
#include "../pythoneditor_global.h"
#include <texteditor/indenter.h>
@@ -58,4 +58,4 @@ private:
} // namespace PythonEditor
#endif // PYTHONEDITOR_INDENTER_H
#endif // PYTHONINDENTER_H

View File

@@ -27,8 +27,8 @@
**
****************************************************************************/
#ifndef PYEDITOR_FILEWIZARD_H
#define PYEDITOR_FILEWIZARD_H
#ifndef PYTHONFILEWIZARD_H
#define PYTHONFILEWIZARD_H
#include <coreplugin/basefilewizard.h>
@@ -54,4 +54,4 @@ protected:
} // namespace PythonEditor
#endif // PYEDITOR_FILEWIZARD_H
#endif // PYTHONFILEWIZARD_H