summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authorSergio Ahumada <[email protected]>2012-09-15 16:51:51 +0200
committerQt by Nokia <[email protected]>2012-09-15 23:54:23 +0200
commit9bedada232fb821f1fba2c1bdbd24702947dcaed (patch)
tree70c4847bc269eb4551a05afc6b0de16d168b7575 /src/gui/kernel
parent7329ad3ee59fedc68758289677f3ece617858708 (diff)
gui/opengl: Fix missing or improper include guard in headers
Use an include guard in headers to ensure the header is not included more than once. Make the header guard match its file name. Change-Id: I29b41e9d33e4ea17165f44c49de0a963574dd809 Reviewed-by: Konstantin Ritt <[email protected]>
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qopenglcontext_p.h6
-rw-r--r--src/gui/kernel/qplatformopenglcontext.h6
-rw-r--r--src/gui/kernel/qplatformscreen_p.h6
-rw-r--r--src/gui/kernel/qplatformwindow_p.h6
4 files changed, 12 insertions, 12 deletions
diff --git a/src/gui/kernel/qopenglcontext_p.h b/src/gui/kernel/qopenglcontext_p.h
index ac72b76ea4f..b07ac0ac25e 100644
--- a/src/gui/kernel/qopenglcontext_p.h
+++ b/src/gui/kernel/qopenglcontext_p.h
@@ -39,8 +39,8 @@
**
****************************************************************************/
-#ifndef QGUIGLCONTEXT_P_H
-#define QGUIGLCONTEXT_P_H
+#ifndef QOPENGLCONTEXT_P_H
+#define QOPENGLCONTEXT_P_H
#ifndef QT_NO_OPENGL
@@ -251,4 +251,4 @@ QT_END_NAMESPACE
QT_END_HEADER
#endif // QT_NO_OPENGL
-#endif // QGUIGLCONTEXT_P_H
+#endif // QOPENGLCONTEXT_P_H
diff --git a/src/gui/kernel/qplatformopenglcontext.h b/src/gui/kernel/qplatformopenglcontext.h
index 466c81d076d..e505e2efc6b 100644
--- a/src/gui/kernel/qplatformopenglcontext.h
+++ b/src/gui/kernel/qplatformopenglcontext.h
@@ -39,8 +39,8 @@
**
****************************************************************************/
-#ifndef QPLATFORMGLCONTEXT_H
-#define QPLATFORMGLCONTEXT_H
+#ifndef QPLATFORMOPENGLCONTEXT_H
+#define QPLATFORMOPENGLCONTEXT_H
//
// W A R N I N G
@@ -104,4 +104,4 @@ QT_END_HEADER
#endif // QT_NO_OPENGL
-#endif // QPLATFORMGLCONTEXT_H
+#endif // QPLATFORMOPENGLCONTEXT_H
diff --git a/src/gui/kernel/qplatformscreen_p.h b/src/gui/kernel/qplatformscreen_p.h
index ced66be8d7e..812c10f41c1 100644
--- a/src/gui/kernel/qplatformscreen_p.h
+++ b/src/gui/kernel/qplatformscreen_p.h
@@ -39,8 +39,8 @@
**
****************************************************************************/
-#ifndef QPLATFORMSCREEN_QPA_P_H
-#define QPLATFORMSCREEN_QPA_P_H
+#ifndef QPLATFORMSCREEN_P_H
+#define QPLATFORMSCREEN_P_H
//
// W A R N I N G
@@ -71,4 +71,4 @@ QT_END_NAMESPACE
QT_END_HEADER
-#endif // QPLATFORMSCREEN_QPA_P_H
+#endif // QPLATFORMSCREEN_P_H
diff --git a/src/gui/kernel/qplatformwindow_p.h b/src/gui/kernel/qplatformwindow_p.h
index 84a4a880597..12e2e607a6f 100644
--- a/src/gui/kernel/qplatformwindow_p.h
+++ b/src/gui/kernel/qplatformwindow_p.h
@@ -39,8 +39,8 @@
**
****************************************************************************/
-#ifndef QPLATFORMWINDOW_QPA_P_H
-#define QPLATFORMWINDOW_QPA_P_H
+#ifndef QPLATFORMWINDOW_P_H
+#define QPLATFORMWINDOW_P_H
//
// W A R N I N G
@@ -71,4 +71,4 @@ QT_END_NAMESPACE
QT_END_HEADER
-#endif // QPLATFORMWINDOW_QPA_P_H
+#endif // QPLATFORMWINDOW_P_H