summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@nokia.com>2012-09-05 13:35:13 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-08 20:29:23 +0200
commit584acd48e02f4c6f3cb6d447e4648916528a1108 (patch)
tree6e2c6abdd1c6683a5f6e313531144efa57ec8660
parent1616001d72483d236a0430e6b4ac7bf18c979099 (diff)
printsupport: 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: Iefc02181fe235ede51c567fb54997531e5cd08a3 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
-rw-r--r--src/printsupport/dialogs/qpagesetupdialog_unix_p.h4
-rw-r--r--src/printsupport/kernel/qpaintengine_preview_p.h4
-rw-r--r--src/printsupport/kernel/qplatformprintersupport.h6
-rw-r--r--src/printsupport/kernel/qplatformprintplugin.h6
4 files changed, 10 insertions, 10 deletions
diff --git a/src/printsupport/dialogs/qpagesetupdialog_unix_p.h b/src/printsupport/dialogs/qpagesetupdialog_unix_p.h
index e5c871828a..1da05bbc89 100644
--- a/src/printsupport/dialogs/qpagesetupdialog_unix_p.h
+++ b/src/printsupport/dialogs/qpagesetupdialog_unix_p.h
@@ -38,8 +38,8 @@
** $QT_END_LICENSE$
**
****************************************************************************/
-#ifndef QPAGESETUPWIDGET_H
-#define QPAGESETUPWIDGET_H
+#ifndef QPAGESETUPDIALOG_UNIX_P_H
+#define QPAGESETUPDIALOG_UNIX_P_H
//
// W A R N I N G
diff --git a/src/printsupport/kernel/qpaintengine_preview_p.h b/src/printsupport/kernel/qpaintengine_preview_p.h
index 98fdf2555e..6e8bface26 100644
--- a/src/printsupport/kernel/qpaintengine_preview_p.h
+++ b/src/printsupport/kernel/qpaintengine_preview_p.h
@@ -39,8 +39,8 @@
**
****************************************************************************/
-#ifndef QPREVIEWPAINTENGINE_P_H
-#define QPREVIEWPAINTENGINE_P_H
+#ifndef QPAINTENGINE_PREVIEW_P_H
+#define QPAINTENGINE_PREVIEW_P_H
//
// W A R N I N G
diff --git a/src/printsupport/kernel/qplatformprintersupport.h b/src/printsupport/kernel/qplatformprintersupport.h
index 018ec05c03..ae583d55f6 100644
--- a/src/printsupport/kernel/qplatformprintersupport.h
+++ b/src/printsupport/kernel/qplatformprintersupport.h
@@ -39,8 +39,8 @@
**
****************************************************************************/
-#ifndef QPLATFORMPRINTINGSUPPORT_H
-#define QPLATFORMPRINTINGSUPPORT_H
+#ifndef QPLATFORMPRINTERSUPPORT_H
+#define QPLATFORMPRINTERSUPPORT_H
//
// W A R N I N G
// -------------
@@ -100,4 +100,4 @@ QT_END_NAMESPACE
QT_END_HEADER
-#endif // QPLATFORMPRINTINGSUPPORT_H
+#endif // QPLATFORMPRINTERSUPPORT_H
diff --git a/src/printsupport/kernel/qplatformprintplugin.h b/src/printsupport/kernel/qplatformprintplugin.h
index 1fa0f52de4..4394d143f5 100644
--- a/src/printsupport/kernel/qplatformprintplugin.h
+++ b/src/printsupport/kernel/qplatformprintplugin.h
@@ -39,8 +39,8 @@
**
****************************************************************************/
-#ifndef QPLATFORMPRINTERSUPPORTPLUGIN_H
-#define QPLATFORMPRINTERSUPPORTPLUGIN_H
+#ifndef QPLATFORMPRINTPLUGIN_H
+#define QPLATFORMPRINTPLUGIN_H
//
// W A R N I N G
@@ -80,4 +80,4 @@ QT_END_NAMESPACE
QT_END_HEADER
-#endif // QPLATFORMPRINTERSUPPORTPLUGIN_H
+#endif // QPLATFORMPRINTPLUGIN_H