Update interface: DeviceControllerInterface is derived from QObject:

This is for using new connect()-syntax in main application.
Note:
 - signals in interface must not be defined virtual
 - signals in implementation must not override signals defined
   in interface.
This commit is contained in:
2023-06-20 13:11:40 +02:00
parent 18ff5d42a7
commit 2b71705c81
3 changed files with 19 additions and 42 deletions

View File

@@ -14,9 +14,11 @@
ATBDeviceControllerPlugin::ATBDeviceControllerPlugin(QObject *parent) : QObject(parent),
ATBDeviceControllerPlugin::ATBDeviceControllerPlugin(QObject *parent) :
pluginState(PLUGIN_STATE::NOT_INITIALIZED)
{
this->setParent(parent);
this->pluginInfo = QString::fromUtf8(pluginInfoString.c_str());
if (!this->private_loadCashAgentLib("")) {