diff options
author | Alex Neundorf <neundorf@kde.org> | 2011-11-22 18:13:03 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2011-11-22 19:51:59 (GMT) |
commit | 80dfbc99f4b04b5eaea9111fa014f07603a8db16 (patch) | |
tree | 86a17591d0c44505778394dea2251a1a23dcb74e /Tests/QtAutomoc/abc.h | |
parent | 72bb058e92167a272b40b4b710fc2fe41b1fc8fe (diff) | |
download | CMake-80dfbc99f4b04b5eaea9111fa014f07603a8db16.zip CMake-80dfbc99f4b04b5eaea9111fa014f07603a8db16.tar.gz CMake-80dfbc99f4b04b5eaea9111fa014f07603a8db16.tar.bz2 |
automoc: add a test for including both abc.moc and moc_abc.cpp
Alex
Diffstat (limited to 'Tests/QtAutomoc/abc.h')
-rw-r--r-- | Tests/QtAutomoc/abc.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Tests/QtAutomoc/abc.h b/Tests/QtAutomoc/abc.h new file mode 100644 index 0000000..d1924b0 --- /dev/null +++ b/Tests/QtAutomoc/abc.h @@ -0,0 +1,28 @@ +/*============================================================================ + CMake - Cross Platform Makefile Generator + Copyright 2004-2011 Kitware, Inc. + Copyright 2011 Alexander Neundorf (neundorf@kde.org) + + Distributed under the OSI-approved BSD License (the "License"); + see accompanying file Copyright.txt for details. + + This software is distributed WITHOUT ANY WARRANTY; without even the + implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + See the License for more information. +============================================================================*/ + +#ifndef ABC_H +#define ABC_H + +#include <QObject> + +class Abc : public QObject +{ + Q_OBJECT + public: + Abc(); + public slots: + void doAbc(); +}; + +#endif |