1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#ifndef OBJ2_HH #define OBJ2_HH #include <QObject> // Qt enabled private class class Obj2Private; // Qt enabled class class Obj2 : public QObject { Q_OBJECT public: Obj2(); ~Obj2(); private: Obj2Private* const d; }; #endif