QtExamples/QtMetaAboutClass/m.h

11 lines
176 B
C
Raw Permalink Normal View History

2021-06-22 23:29:53 +08:00
#ifndef M_H
#define M_H
#include<QObject>
class A:public QObject{ Q_OBJECT};
class B:public A{ Q_OBJECT};
class C:public QObject{Q_OBJECT};
class D:public C{};
#endif // M_H