diff options
Diffstat (limited to 'Tests/QtAutogen/RerunMocOnAddFile/MocOnAddFile/anotherobject.cpp')
-rw-r--r-- | Tests/QtAutogen/RerunMocOnAddFile/MocOnAddFile/anotherobject.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Tests/QtAutogen/RerunMocOnAddFile/MocOnAddFile/anotherobject.cpp b/Tests/QtAutogen/RerunMocOnAddFile/MocOnAddFile/anotherobject.cpp new file mode 100644 index 0000000..45c5af6 --- /dev/null +++ b/Tests/QtAutogen/RerunMocOnAddFile/MocOnAddFile/anotherobject.cpp @@ -0,0 +1,15 @@ +#include <qobject.h> + +class AnotherObject : public QObject +{ + Q_OBJECT +public: + AnotherObject() {} +}; + +AnotherObject* createAnotherObject() +{ + return new AnotherObject(); +} + +#include "anotherobject.moc" |