Changeset View
Changeset View
Standalone View
Standalone View
src/kauthaction.h
Show All 20 Lines | |||||
21 | #ifndef ACTION_H | 21 | #ifndef ACTION_H | ||
22 | #define ACTION_H | 22 | #define ACTION_H | ||
23 | 23 | | |||
24 | #include <QString> | 24 | #include <QString> | ||
25 | #include <QVariant> | 25 | #include <QVariant> | ||
26 | #include <QHash> | 26 | #include <QHash> | ||
27 | #include <QSharedDataPointer> | 27 | #include <QSharedDataPointer> | ||
28 | 28 | | |||
29 | #include <kauth_export.h> | 29 | #include <kauthcore_export.h> | ||
30 | 30 | | |||
31 | namespace KAuth | 31 | namespace KAuth | ||
32 | { | 32 | { | ||
33 | 33 | | |||
34 | class ExecuteJob; | 34 | class ExecuteJob; | ||
35 | 35 | | |||
36 | class ActionData; | 36 | class ActionData; | ||
37 | /** | 37 | /** | ||
Show All 36 Lines | |||||
74 | * { | 74 | * { | ||
75 | * auto job = qobject_cast<KAuth::ExecuteJob *>(kjob); | 75 | * auto job = qobject_cast<KAuth::ExecuteJob *>(kjob); | ||
76 | * qDebug() << job.error() << job.data(); | 76 | * qDebug() << job.error() << job.data(); | ||
77 | * } | 77 | * } | ||
78 | * @endcode | 78 | * @endcode | ||
79 | * | 79 | * | ||
80 | * @since 4.4 | 80 | * @since 4.4 | ||
81 | */ | 81 | */ | ||
82 | class KAUTH_EXPORT Action | 82 | class KAUTHCORE_EXPORT Action | ||
83 | { | 83 | { | ||
84 | Q_GADGET | 84 | Q_GADGET | ||
85 | public: | 85 | public: | ||
86 | /** | 86 | /** | ||
87 | * The three values set by authorization methods | 87 | * The three values set by authorization methods | ||
88 | */ | 88 | */ | ||
89 | enum AuthStatus { | 89 | enum AuthStatus { | ||
90 | DeniedStatus, ///< The authorization has been denied by the authorization backend | 90 | DeniedStatus, ///< The authorization has been denied by the authorization backend | ||
▲ Show 20 Lines • Show All 296 Lines • Show Last 20 Lines |