bar.cpp 744 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. #include "sub/bar.h"
  12. #include <stdio.h>
  13. Bar::Bar()
  14. :QObject()
  15. {
  16. }
  17. void Bar::doBar()
  18. {
  19. printf("Hello bar !\n");
  20. }
  21. #include "sub/moc_bar.cpp"