diff options
Diffstat (limited to 'tests/auto/tools/moc/qinvokable.h')
-rw-r--r-- | tests/auto/tools/moc/qinvokable.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/tools/moc/qinvokable.h b/tests/auto/tools/moc/qinvokable.h index 9070f2ab8e..a47ae72b2b 100644 --- a/tests/auto/tools/moc/qinvokable.h +++ b/tests/auto/tools/moc/qinvokable.h @@ -39,6 +39,9 @@ ** ****************************************************************************/ +#ifndef QINVOKABLE_H +#define QINVOKABLE_H + #include <QObject> class InvokableBeforeReturnType : public QObject @@ -55,3 +58,4 @@ public: Q_INVOKABLE inline void foo() {} Q_INVOKABLE virtual void bar() {} }; +#endif // QINVOKABLE_H |