gpio: Add Qt6 support

master
Simon Stürz 2025-08-08 13:39:17 +02:00
parent d49f9ddbdf
commit d2eacc95a1
2 changed files with 8 additions and 7 deletions

View File

@ -1,6 +1,6 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Copyright 2013 - 2021, nymea GmbH * Copyright 2013 - 2025, nymea GmbH
* Contact: contact@nymea.io * Contact: contact@nymea.io
* *
* This file is part of nymea. * This file is part of nymea.
@ -29,10 +29,11 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "integrationplugingpio.h" #include "integrationplugingpio.h"
#include "types/param.h"
#include "integrations/thing.h"
#include "plugininfo.h" #include "plugininfo.h"
#include <types/param.h>
#include <integrations/thing.h>
IntegrationPluginGpio::IntegrationPluginGpio() IntegrationPluginGpio::IntegrationPluginGpio()
{ {

View File

@ -1,6 +1,6 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Copyright 2013 - 2021, nymea GmbH * Copyright 2013 - 2025, nymea GmbH
* Contact: contact@nymea.io * Contact: contact@nymea.io
* *
* This file is part of nymea. * This file is part of nymea.
@ -31,8 +31,9 @@
#ifndef INTEGRATIONPLUGINGPIO_H #ifndef INTEGRATIONPLUGINGPIO_H
#define INTEGRATIONPLUGINGPIO_H #define INTEGRATIONPLUGINGPIO_H
#include "integrations/integrationplugin.h" #include <integrations/integrationplugin.h>
#include "plugintimer.h" #include <plugintimer.h>
#include "gpiodescriptor.h" #include "gpiodescriptor.h"
// libnymea-gpio // libnymea-gpio
@ -57,7 +58,6 @@ public:
void thingRemoved(Thing *thing) override; void thingRemoved(Thing *thing) override;
void executeAction(ThingActionInfo *info) override; void executeAction(ThingActionInfo *info) override;
private: private:
QHash<ThingClassId, ParamTypeId> m_gpioParamTypeIds; QHash<ThingClassId, ParamTypeId> m_gpioParamTypeIds;
QHash<ThingClassId, ParamTypeId> m_activeLowParamTypeIds; QHash<ThingClassId, ParamTypeId> m_activeLowParamTypeIds;