author | umopapisdn <umopapisdn> | 2002-09-24 21:21:55 (UTC) |
---|---|---|
committer | umopapisdn <umopapisdn> | 2002-09-24 21:21:55 (UTC) |
commit | 8854c1688dfc388e3621b7494f6338008173b20c (patch) (side-by-side diff) | |
tree | 3e6db427b24423b847d7e594f2fc9c865e0cc2ec /noncore/settings/usermanager/groupdialog.h | |
parent | 93be75ceab687091f76a459eb34bfd4859986116 (diff) | |
download | opie-8854c1688dfc388e3621b7494f6338008173b20c.zip opie-8854c1688dfc388e3621b7494f6338008173b20c.tar.gz opie-8854c1688dfc388e3621b7494f6338008173b20c.tar.bz2 |
New Application OPIE-UserManager added.
Diffstat (limited to 'noncore/settings/usermanager/groupdialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/usermanager/groupdialog.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/noncore/settings/usermanager/groupdialog.h b/noncore/settings/usermanager/groupdialog.h new file mode 100644 index 0000000..8b37039 --- a/dev/null +++ b/noncore/settings/usermanager/groupdialog.h @@ -0,0 +1,36 @@ +/*************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ + +#ifndef GROUPDIALOG_H +#define GROUPDIALOG_H + +#include <qdialog.h> +#include <qlineedit.h> + +class GroupDialog : public QDialog +{ + Q_OBJECT +private: + QString gid; + QString groupname; + QLineEdit *gidLineEdit; + QLineEdit *groupnameLineEdit; + int execStatus; + + void accept(void); + +public: + GroupDialog( QWidget* parent = 0, const char* name = 0, bool modal=true, WFlags fl = 0 ); + ~GroupDialog(); + static bool addGroup(int gid); + static bool delGroup(const char *groupname); + static bool editGroup(int gid); +}; + +#endif |