ObjD.cpp 279 B

1234567891011121314151617181920212223242526
  1. #include "ObjD.hpp"
  2. class SubObjD : public QObject
  3. {
  4. Q_OBJECT
  5. public:
  6. SubObjD() {}
  7. ~SubObjD() {}
  8. Q_SLOT
  9. void aSlot();
  10. };
  11. void SubObjD::aSlot()
  12. {
  13. }
  14. void ObjD::go()
  15. {
  16. SubObjD subObj;
  17. }
  18. #include "ObjD.moc"
  19. // Header in subdirectory
  20. #include "subA/moc_SubObjA.cpp"