aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmldesigner/componentsplugin
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/qmldesigner/componentsplugin
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/qmldesigner/componentsplugin')
-rw-r--r--src/plugins/qmldesigner/componentsplugin/addtabdesigneraction.h5
-rw-r--r--src/plugins/qmldesigner/componentsplugin/addtabtotabviewdialog.h5
-rw-r--r--src/plugins/qmldesigner/componentsplugin/componentsplugin.h6
-rw-r--r--src/plugins/qmldesigner/componentsplugin/entertabdesigneraction.h5
-rw-r--r--src/plugins/qmldesigner/componentsplugin/tabviewindexmodel.h5
5 files changed, 5 insertions, 21 deletions
diff --git a/src/plugins/qmldesigner/componentsplugin/addtabdesigneraction.h b/src/plugins/qmldesigner/componentsplugin/addtabdesigneraction.h
index 3429dc1fb4e..66b8a19b82e 100644
--- a/src/plugins/qmldesigner/componentsplugin/addtabdesigneraction.h
+++ b/src/plugins/qmldesigner/componentsplugin/addtabdesigneraction.h
@@ -23,8 +23,7 @@
**
****************************************************************************/
-#ifndef QMLDESIGNER_TABVIEWDESIGNERACTION_H
-#define QMLDESIGNER_TABVIEWDESIGNERACTION_H
+#pragma once
#include "abstractaction.h"
@@ -50,5 +49,3 @@ private slots:
};
} // namespace QmlDesigner
-
-#endif // QMLDESIGNER_TABVIEWDESIGNERACTION_H
diff --git a/src/plugins/qmldesigner/componentsplugin/addtabtotabviewdialog.h b/src/plugins/qmldesigner/componentsplugin/addtabtotabviewdialog.h
index 389e28c6117..8128985d644 100644
--- a/src/plugins/qmldesigner/componentsplugin/addtabtotabviewdialog.h
+++ b/src/plugins/qmldesigner/componentsplugin/addtabtotabviewdialog.h
@@ -23,8 +23,7 @@
**
****************************************************************************/
-#ifndef ADDTABTOTABVIEWDIALOG_H
-#define ADDTABTOTABVIEWDIALOG_H
+#pragma once
#include <QDialog>
@@ -46,5 +45,3 @@ private:
};
} // namespace QmlDesigner
-
-#endif // ADDTABTOTABVIEWDIALOG_H
diff --git a/src/plugins/qmldesigner/componentsplugin/componentsplugin.h b/src/plugins/qmldesigner/componentsplugin/componentsplugin.h
index d714fc8b776..1f43ada8105 100644
--- a/src/plugins/qmldesigner/componentsplugin/componentsplugin.h
+++ b/src/plugins/qmldesigner/componentsplugin/componentsplugin.h
@@ -23,8 +23,7 @@
**
****************************************************************************/
-#ifndef COMPONENTSPLUGIN_H
-#define COMPONENTSPLUGIN_H
+#pragma once
#include <iwidgetplugin.h>
@@ -51,6 +50,3 @@ public:
};
} // namespace QmlDesigner
-
-
-#endif //COMPONENTSPLUGIN_H
diff --git a/src/plugins/qmldesigner/componentsplugin/entertabdesigneraction.h b/src/plugins/qmldesigner/componentsplugin/entertabdesigneraction.h
index 5207aa652b8..862790da006 100644
--- a/src/plugins/qmldesigner/componentsplugin/entertabdesigneraction.h
+++ b/src/plugins/qmldesigner/componentsplugin/entertabdesigneraction.h
@@ -23,8 +23,7 @@
**
****************************************************************************/
-#ifndef ENTERTABDESIGNERACTION_H
-#define ENTERTABDESIGNERACTION_H
+#pragma once
#include <abstractactiongroup.h>
@@ -53,5 +52,3 @@ private:
};
} // namespace QmlDesigner
-
-#endif // ENTERTABDESIGNERACTION_H
diff --git a/src/plugins/qmldesigner/componentsplugin/tabviewindexmodel.h b/src/plugins/qmldesigner/componentsplugin/tabviewindexmodel.h
index 2105fe0e5be..e10f46a085b 100644
--- a/src/plugins/qmldesigner/componentsplugin/tabviewindexmodel.h
+++ b/src/plugins/qmldesigner/componentsplugin/tabviewindexmodel.h
@@ -23,8 +23,7 @@
**
****************************************************************************/
-#ifndef TABVIEWINDEXMODEL_H
-#define TABVIEWINDEXMODEL_H
+#pragma once
#include <qmlitemnode.h>
@@ -59,5 +58,3 @@ private:
};
QML_DECLARE_TYPE(TabViewIndexModel)
-
-#endif // TABVIEWINDEXMODEL_H