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

Change-Id: I5fdea4c3092f5731dc85129dd33bc48c40bcb088
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
Friedemann Kleint
2013-03-12 12:06:15 +01:00
parent dc1f0b0752
commit 781099468e
7 changed files with 13 additions and 12 deletions

View File

@@ -27,11 +27,12 @@
** **
****************************************************************************/ ****************************************************************************/
#include "basetexteditor.h"
#include "basetexteditor_p.h"
#include "texteditor_global.h" #include "texteditor_global.h"
#include "basetextdocument.h" #include "basetextdocument.h"
#include "basetextdocumentlayout.h" #include "basetextdocumentlayout.h"
#include "basetexteditor_p.h"
#include "behaviorsettings.h" #include "behaviorsettings.h"
#include "codecselector.h" #include "codecselector.h"
#include "completionsettings.h" #include "completionsettings.h"

View File

@@ -43,6 +43,7 @@
#include <QSharedPointer> #include <QSharedPointer>
#include <QPointer> #include <QPointer>
#include <QScopedPointer> #include <QScopedPointer>
#include <QTextBlock>
namespace TextEditor { namespace TextEditor {

View File

@@ -27,8 +27,8 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef IASSISTMODEL_H #ifndef IASSISTPROPOSALMODEL_H
#define IASSISTMODEL_H #define IASSISTPROPOSALMODEL_H
#include <texteditor/texteditor_global.h> #include <texteditor/texteditor_global.h>
@@ -51,4 +51,4 @@ public:
} // TextEditor } // TextEditor
#endif // IASSISTMODEL_H #endif // IASSISTPROPOSALMODEL_H

View File

@@ -27,8 +27,8 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef BASETEXTEDITORUTIL_H #ifndef CONCENIENCE_H
#define BASETEXTEDITORUTIL_H #define CONCENIENCE_H
#include "texteditor_global.h" #include "texteditor_global.h"
@@ -51,4 +51,4 @@ TEXTEDITOR_EXPORT QString textAt(QTextCursor tc, int pos, int length);
} // Util } // Util
} // TextEditor } // TextEditor
#endif // BASETEXTEDITORUTIL_H #endif // CONCENIENCE_H

View File

@@ -66,7 +66,6 @@
#include <QXmlInputSource> #include <QXmlInputSource>
#include <QNetworkRequest> #include <QNetworkRequest>
#include <QNetworkReply> #include <QNetworkReply>
#include <QtAlgorithms>
using namespace TextEditor; using namespace TextEditor;
using namespace Internal; using namespace Internal;

View File

@@ -27,8 +27,8 @@
** **
****************************************************************************/ ****************************************************************************/
#include "plaintexteditor.h"
#include "plaintexteditorfactory.h" #include "plaintexteditorfactory.h"
#include "plaintexteditor.h"
#include "basetextdocument.h" #include "basetextdocument.h"
#include "texteditorconstants.h" #include "texteditorconstants.h"
#include "texteditorplugin.h" #include "texteditorplugin.h"

View File

@@ -27,8 +27,8 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef ISNIPPETEDITORDECORATOR_H #ifndef ISNIPPETPROVIDER_H
#define ISNIPPETEDITORDECORATOR_H #define ISNIPPETPROVIDER_H
#include <texteditor/texteditor_global.h> #include <texteditor/texteditor_global.h>
@@ -54,4 +54,4 @@ protected:
} // TextEditor } // TextEditor
#endif // ISNIPPETEDITORDECORATOR_H #endif // ISNIPPETPROVIDER_H