summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc/error-on-wrong-notify.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tools/moc/error-on-wrong-notify.h')
-rw-r--r--tests/auto/tools/moc/error-on-wrong-notify.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/tools/moc/error-on-wrong-notify.h b/tests/auto/tools/moc/error-on-wrong-notify.h
index d13e352143..7358f4e77a 100644
--- a/tests/auto/tools/moc/error-on-wrong-notify.h
+++ b/tests/auto/tools/moc/error-on-wrong-notify.h
@@ -38,6 +38,9 @@
** $QT_END_LICENSE$
**
****************************************************************************/
+
+#ifndef ERROR_ON_WRONG_NOTIFY_H
+#define ERROR_ON_WRONG_NOTIFY_H
#include <QObject>
class ClassWithWrongNOTIFY : public QObject
@@ -51,3 +54,4 @@ public:
int foo() { return m_foo; }
};
+#endif // ERROR_ON_WRONG_NOTIFY_H