Derive interface from QObject (to enable usage of qobject_cast) and UnifiedDCVMCInterface.

This commit is contained in:
Gerhard Hoffmann 2023-11-16 08:38:46 +01:00
parent 5d2bb75fca
commit 62c3758bd1

View File

@ -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)