25 lines
221 B
C++
25 lines
221 B
C++
|
#include "ObjA.hpp"
|
||
|
|
||
|
class SubObjA : public QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
SubObjA() {}
|
||
|
~SubObjA() {}
|
||
|
|
||
|
Q_SLOT
|
||
|
void aSlot();
|
||
|
};
|
||
|
|
||
|
void SubObjA::aSlot()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
void ObjA::go()
|
||
|
{
|
||
|
SubObjA subObj;
|
||
|
}
|
||
|
|
||
|
#include "ObjA.moc"
|