Changeset View
Changeset View
Standalone View
Standalone View
samba/filepropertiesplugin/sambausershareplugin.h
Show All 17 Lines | |||||
18 | 18 | | |||
19 | */ | 19 | */ | ||
20 | 20 | | |||
21 | #ifndef SAMBAUSERSHAREPLUGIN_H | 21 | #ifndef SAMBAUSERSHAREPLUGIN_H | ||
22 | #define SAMBAUSERSHAREPLUGIN_H | 22 | #define SAMBAUSERSHAREPLUGIN_H | ||
23 | 23 | | |||
24 | #include <QVariant> | 24 | #include <QVariant> | ||
25 | #include <QComboBox> | 25 | #include <QComboBox> | ||
26 | #include <QLabel> | ||||
26 | #include <QProgressBar> | 27 | #include <QProgressBar> | ||
27 | #include <QPushButton> | 28 | #include <QPushButton> | ||
28 | #ifdef SAMBA_INSTALL | 29 | #ifdef SAMBA_INSTALL | ||
29 | #include <PackageKit/Daemon> | 30 | #include <PackageKit/Daemon> | ||
30 | #include <PackageKit/Transaction> | 31 | #include <PackageKit/Transaction> | ||
31 | #endif // SAMBA_INSTALL | 32 | #endif // SAMBA_INSTALL | ||
32 | 33 | | |||
33 | #include <kpropertiesdialog.h> | 34 | #include <kpropertiesdialog.h> | ||
Show All 27 Lines | |||||
61 | private: | 62 | private: | ||
62 | QString m_url; | 63 | QString m_url; | ||
63 | KSambaShareData shareData; | 64 | KSambaShareData shareData; | ||
64 | UserPermissionModel *model; | 65 | UserPermissionModel *model; | ||
65 | Ui::PropertiesPageGUI propertiesUi; | 66 | Ui::PropertiesPageGUI propertiesUi; | ||
66 | QWidget *m_failedSambaWidgets; | 67 | QWidget *m_failedSambaWidgets; | ||
67 | QWidget *m_installSambaWidgets; | 68 | QWidget *m_installSambaWidgets; | ||
68 | QWidget *m_shareWidgets; | 69 | QWidget *m_shareWidgets; | ||
70 | QLabel *m_sambaStatusMessage; | ||||
69 | QProgressBar *m_installProgress; | 71 | QProgressBar *m_installProgress; | ||
70 | QPushButton *m_installSambaButton; | 72 | QPushButton *m_installSambaButton; | ||
71 | 73 | | |||
72 | void setupModel(); | 74 | void setupModel(); | ||
73 | void setupViews(); | 75 | void setupViews(); | ||
74 | QStringList getUsersList(); | 76 | QStringList getUsersList(); | ||
75 | QString getNewShareName(); | 77 | QString getNewShareName(); | ||
76 | 78 | | |||
77 | }; | 79 | }; | ||
78 | 80 | | |||
79 | #endif // SAMBAUSERSHAREPLUGIN_H | 81 | #endif // SAMBAUSERSHAREPLUGIN_H |