diff options
author | Klaas Freitag <freitag@owncloud.com> | 2016-03-09 17:21:52 +0300 |
---|---|---|
committer | Klaas Freitag <freitag@owncloud.com> | 2016-03-10 19:46:00 +0300 |
commit | 4a4dac22e2611b5abd53cc27fafa1b11f8218254 (patch) | |
tree | 8ac53c5da9fe1287d423350b61424a1f6774db65 /src/gui/notificationconfirmjob.h | |
parent | 32e16b323c24f4b90da8cf31831a1b875675b676 (diff) |
Notifications: Add a Progress indicator and handle job results.
Parse the replyCode from the button action calls and disable
buttons accordingly.
Diffstat (limited to 'src/gui/notificationconfirmjob.h')
-rw-r--r-- | src/gui/notificationconfirmjob.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/notificationconfirmjob.h b/src/gui/notificationconfirmjob.h index e723b4233..3f0e8bb6b 100644 --- a/src/gui/notificationconfirmjob.h +++ b/src/gui/notificationconfirmjob.h @@ -24,6 +24,8 @@ namespace OCC { +class NotificationWidget; + /** * @brief The NotificationConfirmJob class * @ingroup gui @@ -51,6 +53,10 @@ public: */ void start() Q_DECL_OVERRIDE; + void setWidget( NotificationWidget *widget ); + + NotificationWidget *widget(); + signals: /** @@ -66,6 +72,7 @@ private slots: private: QString _verb; QUrl _link; + NotificationWidget *_widget; }; } |