1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#ifndef GENERATED_H #define GENERATED_H #include <QObject> #include "myinterface.h" #include "myotherinterface.h" class Generated : public QObject, MyInterface, MyOtherInterface { Q_OBJECT Q_INTERFACES(MyInterface MyOtherInterface) public: explicit Generated(QObject *parent = 0); }; #endif