forked from qt-creator/qt-creator
Wholesale conversion to #pragma once
Kudos to cgmb and https://github.com/cgmb/guardonce Change-Id: Ifa8970734b8d43fd08c9260c645bdb0228633791 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef ISNIPPETPROVIDER_H
|
||||
#define ISNIPPETPROVIDER_H
|
||||
#pragma once
|
||||
|
||||
#include <texteditor/texteditor_global.h>
|
||||
|
||||
@@ -49,5 +48,3 @@ protected:
|
||||
};
|
||||
|
||||
} // TextEditor
|
||||
|
||||
#endif // ISNIPPETPROVIDER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef PLAINTEXTSNIPPETPROVIDER_H
|
||||
#define PLAINTEXTSNIPPETPROVIDER_H
|
||||
#pragma once
|
||||
|
||||
#include "isnippetprovider.h"
|
||||
|
||||
@@ -45,5 +44,3 @@ public:
|
||||
|
||||
} // Internal
|
||||
} // TextEditor
|
||||
|
||||
#endif // PLAINTEXTSNIPPETPROVIDER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef REUSE_H
|
||||
#define REUSE_H
|
||||
#pragma once
|
||||
|
||||
#include <QString>
|
||||
#include <QLatin1String>
|
||||
@@ -51,5 +50,3 @@ inline QString fromBool(bool b)
|
||||
|
||||
} // Internal
|
||||
} // TextEditor
|
||||
|
||||
#endif // REUSE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef SNIPPET_H
|
||||
#define SNIPPET_H
|
||||
#pragma once
|
||||
|
||||
#include <texteditor/texteditor_global.h>
|
||||
|
||||
@@ -103,5 +102,3 @@ private:
|
||||
};
|
||||
|
||||
} // TextEditor
|
||||
|
||||
#endif // SNIPPET_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef SNIPPETASSISTCOLLECTOR_H
|
||||
#define SNIPPETASSISTCOLLECTOR_H
|
||||
#pragma once
|
||||
|
||||
#include <texteditor/texteditor_global.h>
|
||||
|
||||
@@ -51,5 +50,3 @@ private:
|
||||
};
|
||||
|
||||
} // TextEditor
|
||||
|
||||
#endif // SNIPPETASSISTCOLLECTOR_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef SNIPPETEDITOR_H
|
||||
#define SNIPPETEDITOR_H
|
||||
#pragma once
|
||||
|
||||
#include <texteditor/texteditor_global.h>
|
||||
#include <texteditor/texteditor.h>
|
||||
@@ -48,5 +47,3 @@ protected:
|
||||
};
|
||||
|
||||
} // namespace TextEditor
|
||||
|
||||
#endif // SNIPPETEDITOR_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef SNIPPETSCOLLECTION_H
|
||||
#define SNIPPETSCOLLECTION_H
|
||||
#pragma once
|
||||
|
||||
#include "snippet.h"
|
||||
|
||||
@@ -137,5 +136,3 @@ private:
|
||||
|
||||
} // Internal
|
||||
} // TextEditor
|
||||
|
||||
#endif // SNIPPETSCOLLECTION_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef SNIPPETSSETTINGS_H
|
||||
#define SNIPPETSSETTINGS_H
|
||||
#pragma once
|
||||
|
||||
#include <QString>
|
||||
|
||||
@@ -58,5 +57,3 @@ inline bool operator!=(const SnippetsSettings &a, const SnippetsSettings &b)
|
||||
{ return !a.equals(b); }
|
||||
|
||||
} // TextEditor
|
||||
|
||||
#endif // SNIPPETSSETTINGS_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef SNIPPETSSETTINGSPAGE_H
|
||||
#define SNIPPETSSETTINGSPAGE_H
|
||||
#pragma once
|
||||
|
||||
#include "../texteditoroptionspage.h"
|
||||
|
||||
@@ -51,5 +50,3 @@ private:
|
||||
|
||||
} // Internal
|
||||
} // TextEditor
|
||||
|
||||
#endif // SNIPPETSSETTINGSPAGE_H
|
||||
|
||||
Reference in New Issue
Block a user