ObjC.cpp 267 B

1234567891011121314151617181920212223242526
  1. #include "ObjC.hpp"
  2. class SubObjC : public QObject
  3. {
  4. Q_OBJECT
  5. public:
  6. SubObjC() {}
  7. ~SubObjC() {}
  8. Q_SLOT
  9. void aSlot();
  10. };
  11. void SubObjC::aSlot()
  12. {
  13. }
  14. void ObjC::go()
  15. {
  16. SubObjC subObj;
  17. }
  18. #include "ObjC.moc"
  19. // Not the own header
  20. #include "moc_ObjD.cpp"