Changeset View
Changeset View
Standalone View
Standalone View
src/util/externalcommand.h
Show All 19 Lines | |||||
20 | #define KPMCORE_EXTERNALCOMMAND_H | 20 | #define KPMCORE_EXTERNALCOMMAND_H | ||
21 | 21 | | |||
22 | #include "util/libpartitionmanagerexport.h" | 22 | #include "util/libpartitionmanagerexport.h" | ||
23 | 23 | | |||
24 | #include <QDebug> | 24 | #include <QDebug> | ||
25 | #include <QProcess> | 25 | #include <QProcess> | ||
26 | #include <QString> | 26 | #include <QString> | ||
27 | #include <QStringList> | 27 | #include <QStringList> | ||
28 | #include <QtGlobal> | | |||
29 | #include <QThread> | 28 | #include <QThread> | ||
30 | #include <QVariant> | 29 | #include <QVariant> | ||
31 | 30 | | |||
32 | #include <memory> | 31 | #include <memory> | ||
33 | 32 | | |||
34 | namespace KAuth { class ExecuteJob; } | 33 | namespace KAuth { class ExecuteJob; } | ||
35 | 34 | | |||
35 | // Remove above namespace later | ||||
36 | namespace Auth { class PolkitQt1Backend; } | ||||
37 | | ||||
36 | class KJob; | 38 | class KJob; | ||
37 | class Report; | 39 | class Report; | ||
38 | class CopySource; | 40 | class CopySource; | ||
39 | class CopyTarget; | 41 | class CopyTarget; | ||
40 | class QDBusInterface; | 42 | class QDBusInterface; | ||
41 | 43 | | |||
42 | struct ExternalCommandPrivate; | 44 | struct ExternalCommandPrivate; | ||
43 | 45 | | |||
▲ Show 20 Lines • Show All 90 Lines • ▼ Show 20 Line(s) | |||||
134 | 136 | | |||
135 | private: | 137 | private: | ||
136 | std::unique_ptr<ExternalCommandPrivate> d; | 138 | std::unique_ptr<ExternalCommandPrivate> d; | ||
137 | 139 | | |||
138 | // KAuth | 140 | // KAuth | ||
139 | static KAuth::ExecuteJob *m_job; | 141 | static KAuth::ExecuteJob *m_job; | ||
140 | static bool helperStarted; | 142 | static bool helperStarted; | ||
141 | static QWidget *parent; | 143 | static QWidget *parent; | ||
144 | static Auth::PolkitQt1Backend *m_authJob; | ||||
142 | }; | 145 | }; | ||
143 | 146 | | |||
144 | #endif | 147 | #endif |