1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#include "qItemD.hpp" class QItemD_Local : public QObject { Q_OBJECT public: QItemD_Local(){}; ~QItemD_Local(){}; }; void QItemD::go() { QItemD_Local localObject; } // We need AUTOMOC processing #include "qItemD.moc"