dynatrace: Add Qt6 support
parent
f20a3eca83
commit
67f7a5874b
|
|
@ -1,8 +1,6 @@
|
||||||
include(../plugins.pri)
|
include(../plugins.pri)
|
||||||
|
|
||||||
QT += network
|
QT *= network
|
||||||
|
|
||||||
TARGET = $$qtLibraryTarget(nymea_integrationplugindynatrace)
|
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
integrationplugindynatrace.cpp \
|
integrationplugindynatrace.cpp \
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||||
*
|
*
|
||||||
* Copyright 2013 - 2020, 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.
|
||||||
|
|
@ -30,7 +30,8 @@
|
||||||
|
|
||||||
#include "integrationplugindynatrace.h"
|
#include "integrationplugindynatrace.h"
|
||||||
#include "plugininfo.h"
|
#include "plugininfo.h"
|
||||||
#include "network/networkaccessmanager.h"
|
|
||||||
|
#include <network/networkaccessmanager.h>
|
||||||
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QUrlQuery>
|
#include <QUrlQuery>
|
||||||
|
|
@ -369,5 +370,6 @@ void IntegrationPluginDynatrace::onConnectionChanged(bool connected)
|
||||||
Thing *thing = myThings().findById(m_ufoConnections.key(ufo));
|
Thing *thing = myThings().findById(m_ufoConnections.key(ufo));
|
||||||
if (!thing)
|
if (!thing)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
thing->setStateValue(ufoConnectedStateTypeId, connected);
|
thing->setStateValue(ufoConnectedStateTypeId, connected);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||||
*
|
*
|
||||||
* Copyright 2013 - 2020, 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,15 +31,16 @@
|
||||||
#ifndef INTEGRATIONPLUGINDYNATRACE_H
|
#ifndef INTEGRATIONPLUGINDYNATRACE_H
|
||||||
#define INTEGRATIONPLUGINDYNATRACE_H
|
#define INTEGRATIONPLUGINDYNATRACE_H
|
||||||
|
|
||||||
#include "plugintimer.h"
|
#include <integrations/integrationplugin.h>
|
||||||
#include "integrations/integrationplugin.h"
|
#include <plugintimer.h>
|
||||||
#include "network/oauth2.h"
|
#include <network/oauth2.h>
|
||||||
#include "ufo.h"
|
|
||||||
|
|
||||||
#include <QHash>
|
#include <QHash>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QHostInfo>
|
#include <QHostInfo>
|
||||||
|
|
||||||
|
#include "ufo.h"
|
||||||
|
|
||||||
class IntegrationPluginDynatrace : public IntegrationPlugin
|
class IntegrationPluginDynatrace : public IntegrationPlugin
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue