Changeset View
Changeset View
Standalone View
Standalone View
src/kauthactionreply.h
Show All 21 Lines | |||||
22 | #define ACTION_REPLY_H | 22 | #define ACTION_REPLY_H | ||
23 | 23 | | |||
24 | #include <QString> | 24 | #include <QString> | ||
25 | #include <QVariant> | 25 | #include <QVariant> | ||
26 | #include <QMap> | 26 | #include <QMap> | ||
27 | #include <QDataStream> | 27 | #include <QDataStream> | ||
28 | #include <QSharedDataPointer> | 28 | #include <QSharedDataPointer> | ||
29 | 29 | | |||
30 | #include <kauth_export.h> | 30 | #include <kauthcore_export.h> | ||
31 | /** | 31 | /** | ||
32 | @namespace KAuth | 32 | @namespace KAuth | ||
33 | 33 | | |||
34 | @section kauth_intro Introduction | 34 | @section kauth_intro Introduction | ||
35 | 35 | | |||
36 | The KDE Authorization API allows developers to write desktop applications that | 36 | The KDE Authorization API allows developers to write desktop applications that | ||
37 | run high-privileged tasks in an easy, secure and cross-platform way. | 37 | run high-privileged tasks in an easy, secure and cross-platform way. | ||
38 | Previously, if an application had to do administrative tasks, it had to be run | 38 | Previously, if an application had to do administrative tasks, it had to be run | ||
▲ Show 20 Lines • Show All 296 Lines • ▼ Show 20 Line(s) | |||||
335 | * an action | 335 | * an action | ||
336 | * | 336 | * | ||
337 | * Helper applications will return this to describe the result of the action. | 337 | * Helper applications will return this to describe the result of the action. | ||
338 | * | 338 | * | ||
339 | * Callers should access the reply though the KAuth::ExecuteJob job. | 339 | * Callers should access the reply though the KAuth::ExecuteJob job. | ||
340 | * | 340 | * | ||
341 | * @since 4.4 | 341 | * @since 4.4 | ||
342 | */ | 342 | */ | ||
343 | class KAUTH_EXPORT ActionReply | 343 | class KAUTHCORE_EXPORT ActionReply | ||
344 | { | 344 | { | ||
345 | public: | 345 | public: | ||
346 | /** | 346 | /** | ||
347 | * Enumeration of the different kinds of replies. | 347 | * Enumeration of the different kinds of replies. | ||
348 | */ | 348 | */ | ||
349 | enum Type { | 349 | enum Type { | ||
350 | KAuthErrorType, ///< An error reply generated by the library itself. | 350 | KAuthErrorType, ///< An error reply generated by the library itself. | ||
351 | HelperErrorType, ///< An error reply generated by the helper. | 351 | HelperErrorType, ///< An error reply generated by the helper. | ||
▲ Show 20 Lines • Show All 259 Lines • Show Last 20 Lines |