diff options
Diffstat (limited to 'tests/auto/tools/moc/warn-on-property-without-read.h')
-rw-r--r-- | tests/auto/tools/moc/warn-on-property-without-read.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/tools/moc/warn-on-property-without-read.h b/tests/auto/tools/moc/warn-on-property-without-read.h index 75d2953aa1..85c092d240 100644 --- a/tests/auto/tools/moc/warn-on-property-without-read.h +++ b/tests/auto/tools/moc/warn-on-property-without-read.h @@ -38,6 +38,9 @@ ** $QT_END_LICENSE$ ** ****************************************************************************/ + +#ifndef WARN_ON_PROPERTY_WITHOUT_READ_H +#define WARN_ON_PROPERTY_WITHOUT_READ_H #include <QObject> class ClassWithPropertyWithoutREAD : public QObject @@ -46,3 +49,4 @@ class ClassWithPropertyWithoutREAD : public QObject Q_PROPERTY(int foo) Q_PROPERTY(int bar READ bar) }; +#endif // WARN_ON_PROPERTY_WITHOUT_READ_H |