File indexing completed on 2024-05-19 05:37:51

0001 /*
0002     SPDX-FileCopyrightText: 2012 Gregor Taetzner <gregor@freenet.de>
0003 
0004     SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0005 */
0006 
0007 #include "packagekitservice.h"
0008 #include "packagekitjob.h"
0009 
0010 PackagekitService::PackagekitService(QObject *parent)
0011     : Plasma5Support::Service(parent)
0012 {
0013     setName(QStringLiteral("packagekit"));
0014 }
0015 
0016 Plasma5Support::ServiceJob *PackagekitService::createJob(const QString &operation, QMap<QString, QVariant> &parameters)
0017 {
0018     return new PackagekitJob(destination(), operation, parameters, this);
0019 }