summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2013-03-12 12:05:32 +0100
committerFriedemann Kleint <Friedemann.Kleint@digia.com>2013-03-12 16:18:45 +0100
commitdc1f0b0752de64222bd6d092fc0b6ae7dba12241 (patch)
tree59592852797a12a6d013062499fa06b0005a0381
parentdc95392aa497cf7d1e969c3ed138589df4221552 (diff)
downloadqt-creator-dc1f0b0752de64222bd6d092fc0b6ae7dba12241.tar.gz
Fix Krazy warnings about includes/header guards in Python Editor.
Change-Id: I3dce1d8f14d4bfc271d8873eb3ad819eb336e2df Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
-rw-r--r--src/plugins/pythoneditor/pythoneditor.cpp2
-rw-r--r--src/plugins/pythoneditor/pythoneditorfactory.cpp2
-rw-r--r--src/plugins/pythoneditor/pythoneditorfactory.h6
-rw-r--r--src/plugins/pythoneditor/pythoneditorwidget.cpp2
-rw-r--r--src/plugins/pythoneditor/pythoneditorwidget.h6
-rw-r--r--src/plugins/pythoneditor/tools/lexical/pythonformattoken.h6
-rw-r--r--src/plugins/pythoneditor/tools/lexical/pythonscanner.cpp2
-rw-r--r--src/plugins/pythoneditor/tools/lexical/pythonscanner.h6
-rw-r--r--src/plugins/pythoneditor/tools/pythonhighlighter.h6
-rw-r--r--src/plugins/pythoneditor/tools/pythonindenter.h6
-rw-r--r--src/plugins/pythoneditor/wizard/pythonfilewizard.h6
11 files changed, 25 insertions, 25 deletions
diff --git a/src/plugins/pythoneditor/pythoneditor.cpp b/src/plugins/pythoneditor/pythoneditor.cpp
index 7704e2764c..c66e1fe393 100644
--- a/src/plugins/pythoneditor/pythoneditor.cpp
+++ b/src/plugins/pythoneditor/pythoneditor.cpp
@@ -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>
diff --git a/src/plugins/pythoneditor/pythoneditorfactory.cpp b/src/plugins/pythoneditor/pythoneditorfactory.cpp
index 23b6a59447..5afe99883d 100644
--- a/src/plugins/pythoneditor/pythoneditorfactory.cpp
+++ b/src/plugins/pythoneditor/pythoneditorfactory.cpp
@@ -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>
diff --git a/src/plugins/pythoneditor/pythoneditorfactory.h b/src/plugins/pythoneditor/pythoneditorfactory.h
index b53ca3d231..b483e6e4dc 100644
--- a/src/plugins/pythoneditor/pythoneditorfactory.h
+++ b/src/plugins/pythoneditor/pythoneditorfactory.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
diff --git a/src/plugins/pythoneditor/pythoneditorwidget.cpp b/src/plugins/pythoneditor/pythoneditorwidget.cpp
index 8d08320820..ba5d80110c 100644
--- a/src/plugins/pythoneditor/pythoneditorwidget.cpp
+++ b/src/plugins/pythoneditor/pythoneditorwidget.cpp
@@ -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>
diff --git a/src/plugins/pythoneditor/pythoneditorwidget.h b/src/plugins/pythoneditor/pythoneditorwidget.h
index 9d016850d7..63f646b79f 100644
--- a/src/plugins/pythoneditor/pythoneditorwidget.h
+++ b/src/plugins/pythoneditor/pythoneditorwidget.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
diff --git a/src/plugins/pythoneditor/tools/lexical/pythonformattoken.h b/src/plugins/pythoneditor/tools/lexical/pythonformattoken.h
index 5f6e5f7a5c..9756476a94 100644
--- a/src/plugins/pythoneditor/tools/lexical/pythonformattoken.h
+++ b/src/plugins/pythoneditor/tools/lexical/pythonformattoken.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
diff --git a/src/plugins/pythoneditor/tools/lexical/pythonscanner.cpp b/src/plugins/pythoneditor/tools/lexical/pythonscanner.cpp
index 92fb7b13ed..1aa2c68529 100644
--- a/src/plugins/pythoneditor/tools/lexical/pythonscanner.cpp
+++ b/src/plugins/pythoneditor/tools/lexical/pythonscanner.cpp
@@ -27,9 +27,9 @@
**
****************************************************************************/
+#include "pythonscanner.h"
#include "../../pythoneditorconstants.h"
#include "../../pythoneditorplugin.h"
-#include "pythonscanner.h"
#include <QString>
#include <QSet>
diff --git a/src/plugins/pythoneditor/tools/lexical/pythonscanner.h b/src/plugins/pythoneditor/tools/lexical/pythonscanner.h
index f51ca19e81..ce01ea0f03 100644
--- a/src/plugins/pythoneditor/tools/lexical/pythonscanner.h
+++ b/src/plugins/pythoneditor/tools/lexical/pythonscanner.h
@@ -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
diff --git a/src/plugins/pythoneditor/tools/pythonhighlighter.h b/src/plugins/pythoneditor/tools/pythonhighlighter.h
index 7a7b050325..cb2a72e243 100644
--- a/src/plugins/pythoneditor/tools/pythonhighlighter.h
+++ b/src/plugins/pythoneditor/tools/pythonhighlighter.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
diff --git a/src/plugins/pythoneditor/tools/pythonindenter.h b/src/plugins/pythoneditor/tools/pythonindenter.h
index be1e1f2d53..3e0fc04319 100644
--- a/src/plugins/pythoneditor/tools/pythonindenter.h
+++ b/src/plugins/pythoneditor/tools/pythonindenter.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
diff --git a/src/plugins/pythoneditor/wizard/pythonfilewizard.h b/src/plugins/pythoneditor/wizard/pythonfilewizard.h
index 4bf976e7d3..d64e1e3bc6 100644
--- a/src/plugins/pythoneditor/wizard/pythonfilewizard.h
+++ b/src/plugins/pythoneditor/wizard/pythonfilewizard.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