How to declare a Qt signal in an abstract class / interface when the implementing class is already derrived from QObject/QWidget?
class IEmitSomething
{
public:
// this should be the signal known to others
virtual void someThingHappened() = 0;
}
class ImplementEmitterOfSomething : public QWidget, public IEmitSomething
{
// signal implementation should be generated here
signals: void someThingHappended();
}
question from:https://stackoverflow.com/questions/17943496/declare-abstract-signal-in-interface-class