#pragma once #include class MyObject : public QObject { Q_OBJECT public: MyObject(QObject* parent = 0); };