Commit dc1f0b07 authored by Friedemann Kleint's avatar Friedemann Kleint

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

Change-Id: I3dce1d8f14d4bfc271d8873eb3ad819eb336e2df
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
parent dc95392a
......@@ -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>
......
......@@ -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>
......
......@@ -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
......@@ -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>
......
......@@ -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
......@@ -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
......@@ -27,9 +27,9 @@
**
****************************************************************************/
#include "pythonscanner.h"
#include "../../pythoneditorconstants.h"
#include "../../pythoneditorplugin.h"
#include "pythonscanner.h"
#include <QString>
#include <QSet>
......
......@@ -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
......@@ -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
......@@ -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
......@@ -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
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