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