From 77e5b43d77c41219bec2dd3f7f87901bd9c7bdf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Fri, 8 Aug 2025 16:23:41 +0200 Subject: [PATCH] somfytahoma: Add Qt6 support --- somfytahoma/integrationpluginsomfytahoma.cpp | 9 +++++---- somfytahoma/integrationpluginsomfytahoma.h | 9 +++------ somfytahoma/somfytahomarequests.cpp | 5 ++--- 3 files changed, 10 insertions(+), 13 deletions(-) diff --git a/somfytahoma/integrationpluginsomfytahoma.cpp b/somfytahoma/integrationpluginsomfytahoma.cpp index bce7216c..d22f3cd3 100644 --- a/somfytahoma/integrationpluginsomfytahoma.cpp +++ b/somfytahoma/integrationpluginsomfytahoma.cpp @@ -1,6 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -* Copyright 2013 - 2022, nymea GmbH +* Copyright 2013 - 2025, nymea GmbH * Contact: contact@nymea.io * * This file is part of nymea. @@ -34,9 +34,10 @@ #include #include -#include "network/networkaccessmanager.h" -#include "network/zeroconf/zeroconfservicebrowser.h" -#include "platform/platformzeroconfcontroller.h" +#include +#include +#include +#include #include "plugininfo.h" #include "somfytahomarequests.h" diff --git a/somfytahoma/integrationpluginsomfytahoma.h b/somfytahoma/integrationpluginsomfytahoma.h index 330467c3..fc8ea12c 100644 --- a/somfytahoma/integrationpluginsomfytahoma.h +++ b/somfytahoma/integrationpluginsomfytahoma.h @@ -1,6 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -* Copyright 2013 - 2022, nymea GmbH +* Copyright 2013 - 2025, nymea GmbH * Contact: contact@nymea.io * * This file is part of nymea. @@ -31,15 +31,12 @@ #ifndef INTEGRATIONPLUGINSOMFYTAHOMA_H #define INTEGRATIONPLUGINSOMFYTAHOMA_H -#include "integrations/integrationplugin.h" -#include "plugintimer.h" +#include #include "extern-plugininfo.h" -class QHostAddress; - +class PluginTimer; class ZeroConfServiceBrowser; - class SomfyTahomaRequest; class IntegrationPluginSomfyTahoma : public IntegrationPlugin diff --git a/somfytahoma/somfytahomarequests.cpp b/somfytahoma/somfytahomarequests.cpp index 617ab2e3..6acf6310 100644 --- a/somfytahoma/somfytahomarequests.cpp +++ b/somfytahoma/somfytahomarequests.cpp @@ -1,6 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -* Copyright 2013 - 2022, nymea GmbH +* Copyright 2013 - 2025, nymea GmbH * Contact: contact@nymea.io * * This file is part of nymea. @@ -33,11 +33,10 @@ #include #include -#include "network/networkaccessmanager.h" +#include #include "extern-plugininfo.h" - static const QString somfyTahomaWebUrl = QStringLiteral("https://ha101-1.overkiz.com/enduser-mobile-web/enduserAPI"); static const QString localSomfyTahomaPath = QStringLiteral("/enduser-mobile-web/1/enduserAPI");