16 lines
206 B
C++
16 lines
206 B
C++
#include <qobject.h>
|
|
|
|
class AnotherObject : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
AnotherObject() {}
|
|
};
|
|
|
|
AnotherObject* createAnotherObject()
|
|
{
|
|
return new AnotherObject();
|
|
}
|
|
|
|
#include "anotherobject.moc"
|