mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-02-23 07:35:54 +00:00
28 lines
593 B
C++
28 lines
593 B
C++
/*
|
|
SPDX-FileCopyrightText: 2005 Jean-Remy Falleri <jr.falleri@laposte.net>
|
|
SPDX-FileCopyrightText: 2005-2007 Kevin Ottens <ervin@kde.org>
|
|
|
|
SPDX-License-Identifier: LGPL-2.0-only
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "deviceaction.h"
|
|
|
|
#include <kserviceaction.h>
|
|
#include <solid/predicate.h>
|
|
|
|
class DeviceServiceAction : public DeviceAction
|
|
{
|
|
public:
|
|
DeviceServiceAction();
|
|
QString id() const override;
|
|
void execute(Solid::Device &device) override;
|
|
|
|
void setService(const KServiceAction &service);
|
|
KServiceAction service() const;
|
|
|
|
private:
|
|
KServiceAction m_service;
|
|
};
|