You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
593 B
27 lines
593 B
/* |
|
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; |
|
};
|
|
|