foo.h 753 B

12345678910111213141516171819202122232425262728
  1. /*============================================================================
  2. CMake - Cross Platform Makefile Generator
  3. Copyright 2004-2011 Kitware, Inc.
  4. Copyright 2011 Alexander Neundorf ([email protected])
  5. Distributed under the OSI-approved BSD License (the "License");
  6. see accompanying file Copyright.txt for details.
  7. This software is distributed WITHOUT ANY WARRANTY; without even the
  8. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  9. See the License for more information.
  10. ============================================================================*/
  11. #ifndef FOO_H
  12. #define FOO_H
  13. #include <QObject>
  14. class Foo : public QObject
  15. {
  16. Q_OBJECT
  17. public:
  18. Foo();
  19. public slots:
  20. void doFoo();
  21. };
  22. #endif