KDBusAddons 5.109.0
updatelaunchenvironmentjob.h
1/*
2 SPDX-FileCopyrightText: 2020 Kai Uwe Broulik <kde@broulik.de>
3 SPDX-FileCopyrightText: 2021 David Edmundson <davidedmundson@kde.org>
4
5 SPDX-License-Identifier: LGPL-2.0-or-later
6*/
7
8#ifndef KDBUSADDONS_UPDATELAUNCHENVIRONMENTJOB_H
9#define KDBUSADDONS_UPDATELAUNCHENVIRONMENTJOB_H
10
11#include <kdbusaddons_export.h>
12
13#include <QProcessEnvironment>
14
15#include <memory>
16
17class QString;
18class UpdateLaunchEnvironmentJobPrivate;
19
39class KDBUSADDONS_EXPORT UpdateLaunchEnvironmentJob : public QObject
40{
41 Q_OBJECT
42
43public:
44 explicit UpdateLaunchEnvironmentJob(const QProcessEnvironment &environment);
46
47Q_SIGNALS:
48 void finished();
49
50private:
51 KDBUSADDONS_NO_EXPORT void start();
52
53private:
54 std::unique_ptr<UpdateLaunchEnvironmentJobPrivate> const d;
55};
56
57#endif
Job for updating the launch environment.
Definition updatelaunchenvironmentjob.h:40