1 /* 2 SPDX-FileCopyrightText: 2011 Sebastian Kügler <sebas@kde.org> 3 4 SPDX-License-Identifier: LGPL-2.0-or-later 5 */ 6 7 #include "powermanagementservice.h" 8 #include "powermanagementjob.h" 9 PowerManagementService(QObject * parent)10PowerManagementService::PowerManagementService(QObject *parent) 11 : Plasma::Service(parent) 12 { 13 setName(QStringLiteral("powermanagementservice")); 14 } 15 createJob(const QString & operation,QMap<QString,QVariant> & parameters)16ServiceJob *PowerManagementService::createJob(const QString &operation, QMap<QString, QVariant> ¶meters) 17 { 18 return new PowerManagementJob(operation, parameters, this); 19 } 20