summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc/oldstyle-casts.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tools/moc/oldstyle-casts.h')
-rw-r--r--tests/auto/tools/moc/oldstyle-casts.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/tools/moc/oldstyle-casts.h b/tests/auto/tools/moc/oldstyle-casts.h
index 89f90a3504..42f8381072 100644
--- a/tests/auto/tools/moc/oldstyle-casts.h
+++ b/tests/auto/tools/moc/oldstyle-casts.h
@@ -38,6 +38,9 @@
** $QT_END_LICENSE$
**
****************************************************************************/
+
+#ifndef OLDSTYLE_CASTS_H
+#define OLDSTYLE_CASTS_H
#include <QtCore/qobject.h>
class Foo: public QObject
@@ -54,3 +57,4 @@ public slots:
inline void slot(int, QObject * const) {}
};
+#endif // OLDSTYLE_CASTS_H