author | drw <drw> | 2004-02-22 00:50:59 (UTC) |
---|---|---|
committer | drw <drw> | 2004-02-22 00:50:59 (UTC) |
commit | 9ab4aa3df617519bdf4309303725abc802fbc704 (patch) (unidiff) | |
tree | 42f80b5b426c9c2dfeeee0d758a81a15f8031a1c /noncore/settings/usermanager/userdialog.h | |
parent | b7f37da2a6266326102cda0dc4569033e3d3f9d0 (diff) | |
download | opie-9ab4aa3df617519bdf4309303725abc802fbc704.zip opie-9ab4aa3df617519bdf4309303725abc802fbc704.tar.gz opie-9ab4aa3df617519bdf4309303725abc802fbc704.tar.bz2 |
User Manager: libopie->libopie2
Diffstat (limited to 'noncore/settings/usermanager/userdialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/usermanager/userdialog.h | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/noncore/settings/usermanager/userdialog.h b/noncore/settings/usermanager/userdialog.h index 3272afc..a94e49b 100644 --- a/noncore/settings/usermanager/userdialog.h +++ b/noncore/settings/usermanager/userdialog.h | |||
@@ -21,46 +21,46 @@ | |||
21 | #include <qpe/resource.h> | 21 | #include <qpe/resource.h> |
22 | 22 | ||
23 | #include <opie/ofiledialog.h> | 23 | #include <opie2/ofiledialog.h> |
24 | 24 | ||
25 | class UserDialog : public QDialog | 25 | class UserDialog : public QDialog |
26 | { | 26 | { |
27 | Q_OBJECT | 27 | Q_OBJECT |
28 | private: | 28 | private: |
29 | QTabWidget *myTabWidget; | 29 | QTabWidget *myTabWidget; |
30 | QPushButton *picturePushButton; | 30 | QPushButton *picturePushButton; |
31 | QLineEdit *loginLineEdit; | 31 | QLineEdit *loginLineEdit; |
32 | QLineEdit *uidLineEdit; | 32 | QLineEdit *uidLineEdit; |
33 | QLineEdit *gecosLineEdit; | 33 | QLineEdit *gecosLineEdit; |
34 | QLineEdit *passwordLineEdit; | 34 | QLineEdit *passwordLineEdit; |
35 | QComboBox *shellComboBox; | 35 | QComboBox *shellComboBox; |
36 | QComboBox *groupComboBox; | 36 | QComboBox *groupComboBox; |
37 | QLabel *skelLabel; | 37 | QLabel *skelLabel; |
38 | QCheckBox *skelCheckBox; | 38 | QCheckBox *skelCheckBox; |
39 | QListView *groupsListView; | 39 | QListView *groupsListView; |
40 | 40 | ||
41 | QStringList groupMembers; | 41 | QStringList groupMembers; |
42 | QString pictureLocation; | 42 | QString pictureLocation; |
43 | QImage userImage; | 43 | QImage userImage; |
44 | int groupID; | 44 | int groupID; |
45 | int userID; | 45 | int userID; |
46 | int vm; | 46 | int vm; |
47 | enum VIEWMODE { | 47 | enum VIEWMODE { |
48 | VIEWMODE_NEW, | 48 | VIEWMODE_NEW, |
49 | VIEWMODE_EDIT | 49 | VIEWMODE_EDIT |
50 | }; | 50 | }; |
51 | 51 | ||
52 | void setupTab1(void); | 52 | void setupTab1(void); |
53 | void setupTab2(void); | 53 | void setupTab2(void); |
54 | void accept(void); | 54 | void accept(void); |
55 | 55 | ||
56 | private slots: | 56 | private slots: |
57 | void clickedPicture(void); | 57 | void clickedPicture(void); |
58 | 58 | ||
59 | public: | 59 | public: |
60 | UserDialog( int viewmode=VIEWMODE_NEW, QWidget* parent = 0, const char* name = 0, bool modal=true, WFlags fl = 0 ); | 60 | UserDialog( int viewmode=VIEWMODE_NEW, QWidget* parent = 0, const char* name = 0, bool modal=true, WFlags fl = 0 ); |
61 | ~UserDialog(); | 61 | ~UserDialog(); |
62 | static bool addUser(int uid, int gid); | 62 | static bool addUser(int uid, int gid); |
63 | static bool editUser(const char *username); | 63 | static bool editUser(const char *username); |
64 | static bool delUser(const char *username); | 64 | static bool delUser(const char *username); |
65 | }; | 65 | }; |
66 | 66 | ||