foo.h 315 B

1234567891011121314151617181920
  1. /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. file Copyright.txt or https://cmake.org/licensing for details. */
  3. #ifndef FOO_H
  4. #define FOO_H
  5. #include <QObject>
  6. class Foo
  7. #ifdef FOO
  8. : public QObject
  9. #endif
  10. {
  11. Q_OBJECT
  12. public:
  13. Foo();
  14. public slots:
  15. void doFoo();
  16. };
  17. #endif