wakeonlan: Add Qt6 support
This commit is contained in:
parent
2bc88e5aa2
commit
d9e02a719c
@ -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.
|
||||||
@ -29,13 +29,13 @@
|
|||||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
||||||
|
|
||||||
#include "integrationpluginwakeonlan.h"
|
#include "integrationpluginwakeonlan.h"
|
||||||
|
|
||||||
#include "integrations/thing.h"
|
|
||||||
#include "plugininfo.h"
|
#include "plugininfo.h"
|
||||||
|
|
||||||
#include "network/networkdevicediscovery.h"
|
#include <integrations/thing.h>
|
||||||
|
#include <network/networkdevicediscovery.h>
|
||||||
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
#include <QProcess>
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
#include <QUdpSocket>
|
#include <QUdpSocket>
|
||||||
|
|
||||||
|
|||||||
@ -31,9 +31,7 @@
|
|||||||
#ifndef INTEGRATIONPLUGINWAKEONLAN_H
|
#ifndef INTEGRATIONPLUGINWAKEONLAN_H
|
||||||
#define INTEGRATIONPLUGINWAKEONLAN_H
|
#define INTEGRATIONPLUGINWAKEONLAN_H
|
||||||
|
|
||||||
#include "integrations/integrationplugin.h"
|
#include <integrations/integrationplugin.h>
|
||||||
|
|
||||||
#include <QProcess>
|
|
||||||
|
|
||||||
class IntegrationPluginWakeOnLan : public IntegrationPlugin
|
class IntegrationPluginWakeOnLan : public IntegrationPlugin
|
||||||
{
|
{
|
||||||
@ -46,7 +44,6 @@ public:
|
|||||||
explicit IntegrationPluginWakeOnLan();
|
explicit IntegrationPluginWakeOnLan();
|
||||||
|
|
||||||
void discoverThings(ThingDiscoveryInfo *info) override;
|
void discoverThings(ThingDiscoveryInfo *info) override;
|
||||||
|
|
||||||
void executeAction(ThingActionInfo *info) override;
|
void executeAction(ThingActionInfo *info) override;
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
|
|||||||
@ -1,8 +1,6 @@
|
|||||||
include(../plugins.pri)
|
include(../plugins.pri)
|
||||||
|
|
||||||
TARGET = $$qtLibraryTarget(nymea_integrationpluginwakeonlan)
|
QT *= network
|
||||||
|
|
||||||
QT += network
|
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
integrationpluginwakeonlan.cpp
|
integrationpluginwakeonlan.cpp
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user