Derive interface from QObject (to enable usage of qobject_cast) and UnifiedDCVMCInterface.
This commit is contained in:
parent
5d2bb75fca
commit
62c3758bd1
@ -16,7 +16,7 @@ namespace nsDeviceControllerInterface {
|
|||||||
using TICKET_VARIANT = ATBAPPplugin::TICKET_VARIANT;
|
using TICKET_VARIANT = ATBAPPplugin::TICKET_VARIANT;
|
||||||
}
|
}
|
||||||
|
|
||||||
class DeviceControllerInterface : public UnifiedDCVMCInterface
|
class DeviceControllerInterface : public QObject, public UnifiedDCVMCInterface
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_INTERFACES(ATBAPPplugin)
|
Q_INTERFACES(ATBAPPplugin)
|
||||||
|
Loading…
Reference in New Issue
Block a user