#ifndef TESTTEMPLATE_HPP #define TESTTEMPLATE_HPP #include template class TestTemplate { }; class Object : public QObject { Q_OBJECT public slots: void testSlot(TestTemplate); signals: void testSignal(TestTemplate); }; #endif // TESTTEMPLATE_HPP