summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc/warn-on-multiple-qobject-subclasses.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tools/moc/warn-on-multiple-qobject-subclasses.h')
-rw-r--r--tests/auto/tools/moc/warn-on-multiple-qobject-subclasses.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/tools/moc/warn-on-multiple-qobject-subclasses.h b/tests/auto/tools/moc/warn-on-multiple-qobject-subclasses.h
index 346909cca1..bbe416f7f0 100644
--- a/tests/auto/tools/moc/warn-on-multiple-qobject-subclasses.h
+++ b/tests/auto/tools/moc/warn-on-multiple-qobject-subclasses.h
@@ -39,6 +39,9 @@
**
****************************************************************************/
+#ifndef WARN_ON_MULTIPLE_QOBJECT_SUBCLASSES_H
+#define WARN_ON_MULTIPLE_QOBJECT_SUBCLASSES_H
+
#include <QtGui>
class Foo : public QObject
@@ -53,3 +56,4 @@ class Bar : public QWindow, public Foo
};
+#endif // WARN_ON_MULTIPLE_QOBJECT_SUBCLASSES_H