forked from qt-creator/qt-creator
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:
@@ -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"
|
||||||
|
|||||||
@@ -43,6 +43,7 @@
|
|||||||
#include <QSharedPointer>
|
#include <QSharedPointer>
|
||||||
#include <QPointer>
|
#include <QPointer>
|
||||||
#include <QScopedPointer>
|
#include <QScopedPointer>
|
||||||
|
#include <QTextBlock>
|
||||||
|
|
||||||
namespace TextEditor {
|
namespace TextEditor {
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user