aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/bookmarks
diff options
context:
space:
mode:
authorhjk <hjk@theqtcompany.com>2016-03-18 07:55:01 +0100
committerhjk <hjk@theqtcompany.com>2016-03-30 15:20:19 +0000
commit39a38d5679084b515276285c044d8a27e671adb1 (patch)
tree8f72b00aa4a7db53eb8e193119033edf1ae9b0e4 /src/plugins/bookmarks
parent6b805c217273b9d169aa7e8a78949e17179016bf (diff)
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>
Diffstat (limited to 'src/plugins/bookmarks')
-rw-r--r--src/plugins/bookmarks/bookmark.h5
-rw-r--r--src/plugins/bookmarks/bookmarkmanager.h5
-rw-r--r--src/plugins/bookmarks/bookmarks_global.h6
-rw-r--r--src/plugins/bookmarks/bookmarksplugin.h5
4 files changed, 4 insertions, 17 deletions
diff --git a/src/plugins/bookmarks/bookmark.h b/src/plugins/bookmarks/bookmark.h
index e1cb8b6b51..af9c219b9c 100644
--- a/src/plugins/bookmarks/bookmark.h
+++ b/src/plugins/bookmarks/bookmark.h
@@ -23,8 +23,7 @@
**
****************************************************************************/
-#ifndef BOOKMARK_H
-#define BOOKMARK_H
+#pragma once
#include <texteditor/textmark.h>
@@ -57,5 +56,3 @@ private:
} // namespace Internal
} // namespace Bookmarks
-
-#endif // BOOKMARK_H
diff --git a/src/plugins/bookmarks/bookmarkmanager.h b/src/plugins/bookmarks/bookmarkmanager.h
index d136225362..0bc81ad135 100644
--- a/src/plugins/bookmarks/bookmarkmanager.h
+++ b/src/plugins/bookmarks/bookmarkmanager.h
@@ -23,8 +23,7 @@
**
****************************************************************************/
-#ifndef BOOKMARKMANAGER_H
-#define BOOKMARKMANAGER_H
+#pragma once
#include <utils/itemviews.h>
#include <coreplugin/editormanager/ieditor.h>
@@ -188,5 +187,3 @@ private:
} // namespace Internal
} // namespace Bookmarks
-
-#endif // BOOKMARKMANAGER_H
diff --git a/src/plugins/bookmarks/bookmarks_global.h b/src/plugins/bookmarks/bookmarks_global.h
index b1cab45207..6f22b7eb09 100644
--- a/src/plugins/bookmarks/bookmarks_global.h
+++ b/src/plugins/bookmarks/bookmarks_global.h
@@ -23,8 +23,7 @@
**
****************************************************************************/
-#ifndef BOOKMARKS_GLOBAL_H
-#define BOOKMARKS_GLOBAL_H
+#pragma once
namespace Bookmarks {
namespace Constants {
@@ -46,6 +45,3 @@ const char BOOKMARKS_CONTEXT[] = "Bookmarks";
} // namespace Constants
} // namespace Bookmarks
-
-#endif // BOOKMARKS_GLOBAL_H
-
diff --git a/src/plugins/bookmarks/bookmarksplugin.h b/src/plugins/bookmarks/bookmarksplugin.h
index 58bbc5e3f2..4cb16b2218 100644
--- a/src/plugins/bookmarks/bookmarksplugin.h
+++ b/src/plugins/bookmarks/bookmarksplugin.h
@@ -23,8 +23,7 @@
**
****************************************************************************/
-#ifndef BOOKMARKSPLUGIN_H
-#define BOOKMARKSPLUGIN_H
+#pragma once
#include <extensionsystem/iplugin.h>
@@ -81,5 +80,3 @@ private:
} // namespace Internal
} // namespace Bookmarks
-
-#endif // BOOKMARKS_H