OtherUnderscoreSub.cpp 844 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #include "OtherUnderscoreSub.hpp"
  2. #include "OtherUnderscoreSubDir/SubExtra.hpp"
  3. #include "OtherUnderscoreSub_p.hpp"
  4. class OtherUnderscoreSubLocal : public QObject
  5. {
  6. Q_OBJECT
  7. public:
  8. OtherUnderscoreSubLocal();
  9. ~OtherUnderscoreSubLocal();
  10. };
  11. OtherUnderscoreSubLocal::OtherUnderscoreSubLocal()
  12. {
  13. }
  14. OtherUnderscoreSubLocal::~OtherUnderscoreSubLocal()
  15. {
  16. }
  17. OtherUnderscoreSubPrivate::OtherUnderscoreSubPrivate()
  18. {
  19. OtherUnderscoreSubLocal localObj;
  20. SubExtra extraObj;
  21. }
  22. OtherUnderscoreSubPrivate::~OtherUnderscoreSubPrivate()
  23. {
  24. }
  25. OtherUnderscoreSub::OtherUnderscoreSub()
  26. : d(new OtherUnderscoreSubPrivate)
  27. {
  28. }
  29. OtherUnderscoreSub::~OtherUnderscoreSub()
  30. {
  31. delete d;
  32. }
  33. // For OtherUnderscoreSubLocal
  34. #include "OtherUnderscoreSub.moc"
  35. // - Not the own header
  36. // - in a subdirectory
  37. #include "OtherUnderscoreSubDir/moc_SubExtra.cpp"