File indexing completed on 2024-05-12 05:37:17

0001 /*
0002     SPDX-FileCopyrightText: 2009 Chani Armitage <chani@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-only
0005 */
0006 
0007 #pragma once
0008 
0009 // plasma
0010 #include <Plasma5Support/ServiceJob>
0011 
0012 // own
0013 #include "appsource.h"
0014 
0015 class AppJob : public Plasma5Support::ServiceJob
0016 {
0017     Q_OBJECT
0018 
0019 public:
0020     AppJob(AppSource *source, const QString &operation, QMap<QString, QVariant> &parameters, QObject *parent = nullptr);
0021     ~AppJob() override;
0022 
0023 protected:
0024     void start() override;
0025 
0026 private:
0027     AppSource *m_source;
0028 };