Changeset View
Changeset View
Standalone View
Standalone View
src/widgets/menu.h
| Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Line(s) | 34 | public: | |||
|---|---|---|---|---|---|
| 45 | */ | 45 | */ | ||
| 46 | void reload(); | 46 | void reload(); | ||
| 47 | 47 | | |||
| 48 | Q_SIGNALS: | 48 | Q_SIGNALS: | ||
| 49 | /** | 49 | /** | ||
| 50 | * Emitted when a triggered job finishes | 50 | * Emitted when a triggered job finishes | ||
| 51 | * | 51 | * | ||
| 52 | * @p output contains the information offered by the plugin. The information offered will depend on the plugin type. | 52 | * @p output contains the information offered by the plugin. The information offered will depend on the plugin type. | ||
| 53 | * @p error will be 0 if the execution was successful, otherwise it will provide an error message | 53 | * @p error will be 0 if the execution was successful, KIO::ERR_USER_CANCELED if cancelled by the user, otherwise it will provide an error message | ||
| 54 | * @p errorMessage the error message | 54 | * @p errorMessage the error message | ||
| 55 | * | 55 | * | ||
| 56 | * @see Purpose::Job | 56 | * @see Purpose::Job | ||
| 57 | */ | 57 | */ | ||
| 58 | void finished(const QJsonObject &output, int error, const QString &errorMessage); | 58 | void finished(const QJsonObject &output, int error, const QString &errorMessage); | ||
| 59 | 59 | | |||
| 60 | private: | 60 | private: | ||
| 61 | Q_DECLARE_PRIVATE(Menu) | 61 | Q_DECLARE_PRIVATE(Menu) | ||
| 62 | MenuPrivate *const d_ptr; | 62 | MenuPrivate *const d_ptr; | ||
| 63 | }; | 63 | }; | ||
| 64 | 64 | | |||
| 65 | } | 65 | } | ||
| 66 | 66 | | |||
| 67 | #endif | 67 | #endif | ||