diff options
author | Alex Neundorf <neundorf@kde.org> | 2011-11-22 18:24:39 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2011-11-22 19:52:21 (GMT) |
commit | bc7560e6e56d1f6fa65745cf5c1206192fb77b04 (patch) | |
tree | 920a0ebdf3e5eff3c2e245ea084b0ab090bc2ebb /Tests/QtAutomoc/abc_p.h | |
parent | 30fd8e603a52b7230e0b716d8120fc01551c8a4f (diff) | |
download | CMake-bc7560e6e56d1f6fa65745cf5c1206192fb77b04.zip CMake-bc7560e6e56d1f6fa65745cf5c1206192fb77b04.tar.gz CMake-bc7560e6e56d1f6fa65745cf5c1206192fb77b04.tar.bz2 |
automoc: add test for including a moc_abc_p.cpp file
Alex
Diffstat (limited to 'Tests/QtAutomoc/abc_p.h')
-rw-r--r-- | Tests/QtAutomoc/abc_p.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Tests/QtAutomoc/abc_p.h b/Tests/QtAutomoc/abc_p.h new file mode 100644 index 0000000..952fff3 --- /dev/null +++ b/Tests/QtAutomoc/abc_p.h @@ -0,0 +1,30 @@ +/*============================================================================ + 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_P_H +#define ABC_P_H + +#include <QObject> + +#include <stdio.h> + +class AbcP : public QObject +{ + Q_OBJECT + public: + AbcP() {} + public slots: + void doAbcP() { printf("I am private abc !\n"); } +}; + +#endif |