Changeset View
Changeset View
Standalone View
Standalone View
samba/filepropertiesplugin/sambausershareplugin.h
Show First 20 Lines • Show All 53 Lines • ▼ Show 20 Line(s) | 51 | private: | |||
---|---|---|---|---|---|
54 | UserPermissionModel *model; | 54 | UserPermissionModel *model; | ||
55 | Ui::PropertiesPageGUI propertiesUi; | 55 | Ui::PropertiesPageGUI propertiesUi; | ||
56 | QWidget *m_failedSambaWidgets; | 56 | QWidget *m_failedSambaWidgets; | ||
57 | QWidget *m_installSambaWidgets; | 57 | QWidget *m_installSambaWidgets; | ||
58 | QWidget *m_shareWidgets; | 58 | QWidget *m_shareWidgets; | ||
59 | QLabel *m_sambaStatusMessage; | 59 | QLabel *m_sambaStatusMessage; | ||
60 | QProgressBar *m_installProgress; | 60 | QProgressBar *m_installProgress; | ||
61 | QPushButton *m_installSambaButton; | 61 | QPushButton *m_installSambaButton; | ||
62 | #ifdef SAMBA_INSTALL | ||||
63 | QWidget *m_justInstalledSambaWidgets; | ||||
sitter: shouldn't this rather be a KMessageWidget? As I recall we usually use KMWs for this type of… | |||||
Yes, but I'd prefer to do that in another patch and port all the inline messages at once. ngraham: Yes, but I'd prefer to do that in another patch and port all the inline messages at once. | |||||
sitter: Ah! There's more. Fine with me then. | |||||
64 | QPushButton *m_restartButton; | ||||
65 | #endif // SAMBA_INSTALL | ||||
62 | 66 | | |||
63 | void setupModel(); | 67 | void setupModel(); | ||
64 | void setupViews(); | 68 | void setupViews(); | ||
65 | QStringList getUsersList(); | 69 | QStringList getUsersList(); | ||
66 | QString getNewShareName(); | 70 | QString getNewShareName(); | ||
67 | void load(); | 71 | void load(); | ||
68 | void toggleShareStatus(bool checked); | 72 | void toggleShareStatus(bool checked); | ||
69 | void checkShareName(const QString &name); | 73 | void checkShareName(const QString &name); | ||
70 | #ifdef SAMBA_INSTALL | 74 | #ifdef SAMBA_INSTALL | ||
71 | void installSamba(); | 75 | void installSamba(); | ||
72 | void packageFinished(PackageKit::Transaction::Exit status, uint runtime); | 76 | void packageFinished(PackageKit::Transaction::Exit status, uint runtime); | ||
77 | void reboot(); | ||||
73 | #endif // SAMBA_INSTALL | 78 | #endif // SAMBA_INSTALL | ||
74 | 79 | | |||
75 | 80 | | |||
76 | }; | 81 | }; | ||
77 | 82 | | |||
78 | #endif // SAMBAUSERSHAREPLUGIN_H | 83 | #endif // SAMBAUSERSHAREPLUGIN_H |
shouldn't this rather be a KMessageWidget? As I recall we usually use KMWs for this type of notification.