Changeset View
Changeset View
Standalone View
Standalone View
kded/ui/mountdialog.h
Show All 19 Lines | |||||
20 | #ifndef MOUNTDIALOG_H | 20 | #ifndef MOUNTDIALOG_H | ||
21 | #define MOUNTDIALOG_H | 21 | #define MOUNTDIALOG_H | ||
22 | 22 | | |||
23 | #include <QDialog> | 23 | #include <QDialog> | ||
24 | #include <functional> | 24 | #include <functional> | ||
25 | 25 | | |||
26 | #include "ui_mountdialog.h" | 26 | #include "ui_mountdialog.h" | ||
27 | 27 | | |||
28 | #include "engine/vault.h" | ||||
29 | | ||||
28 | class KMessageWidget; | 30 | class KMessageWidget; | ||
31 | class QAction; | ||||
29 | 32 | | |||
30 | namespace PlasmaVault { | 33 | namespace PlasmaVault { | ||
31 | class Vault; | 34 | class Vault; | ||
32 | } | 35 | } | ||
33 | 36 | | |||
34 | class MountDialog : public QDialog | 37 | class MountDialog : public QDialog | ||
35 | { | 38 | { | ||
36 | public: | 39 | public: | ||
37 | MountDialog(PlasmaVault::Vault *vault); | 40 | MountDialog(PlasmaVault::Vault *vault); | ||
38 | 41 | | |||
39 | protected: | 42 | protected: | ||
40 | void accept() override; | 43 | void accept() override; | ||
41 | 44 | | |||
42 | private: | 45 | private: | ||
43 | PlasmaVault::Vault *m_vault; | 46 | PlasmaVault::Vault *m_vault; | ||
44 | Ui_MountDialog m_ui; | 47 | Ui_MountDialog m_ui; | ||
45 | KMessageWidget* m_errorLabel; | 48 | KMessageWidget* m_errorLabel; | ||
49 | QAction* m_detailsAction; | ||||
50 | PlasmaVault::Error m_lastError; | ||||
46 | }; | 51 | }; | ||
47 | 52 | | |||
48 | #endif | 53 | #endif |