1 2 3 4 5 6 7 8 9 10 11 12 13
#ifndef MYOBJECT_H #define MYOBJECT_H #include <qobject.h> class MyObject : public QObject { Q_OBJECT public: MyObject(QObject* parent = 0); }; #endif