author | llornkcor <llornkcor> | 2002-04-22 23:59:40 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-04-22 23:59:40 (UTC) |
commit | b3190f8be01fb364f89d9de0a0dddb9a5ccebe77 (patch) (unidiff) | |
tree | 6bcc72e9a0b2b1259f1556dd31203e60d6792568 /noncore/net/opieftp/filePermissions.h | |
parent | 01ddcc2d67eb928eec6018e7e355820f2458b74f (diff) | |
download | opie-b3190f8be01fb364f89d9de0a0dddb9a5ccebe77.zip opie-b3190f8be01fb364f89d9de0a0dddb9a5ccebe77.tar.gz opie-b3190f8be01fb364f89d9de0a0dddb9a5ccebe77.tar.bz2 |
fixed pro and added file permissions
Diffstat (limited to 'noncore/net/opieftp/filePermissions.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opieftp/filePermissions.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/noncore/net/opieftp/filePermissions.h b/noncore/net/opieftp/filePermissions.h new file mode 100644 index 0000000..b8f3776 --- a/dev/null +++ b/noncore/net/opieftp/filePermissions.h | |||
@@ -0,0 +1,58 @@ | |||
1 | /**************************************************************************** | ||
2 | ** copyright 2002 ljp ljp@llornkcor.com | ||
3 | ** Created: Sat Feb 23 19:44:17 2002 | ||
4 | ** | ||
5 | ** This file may be distributed and/or modified under the terms of the | ||
6 | ** GNU General Public License version 2 as published by the Free Software | ||
7 | ** Foundation and appearing in the file LICENSE.GPL included in the | ||
8 | ** packaging of this file. | ||
9 | ** | ||
10 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | ||
11 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | ||
12 | ** | ||
13 | ****************************************************************************/ | ||
14 | #ifndef FILEPERMISSIONS_H | ||
15 | #define FILEPERMISSIONS_H | ||
16 | |||
17 | #include <qvariant.h> | ||
18 | #include <qdialog.h> | ||
19 | class QVBoxLayout; | ||
20 | class QHBoxLayout; | ||
21 | class QGridLayout; | ||
22 | class QCheckBox; | ||
23 | class QLabel; | ||
24 | class QLineEdit; | ||
25 | class QString; | ||
26 | |||
27 | class filePermissions : public QDialog | ||
28 | { | ||
29 | Q_OBJECT | ||
30 | |||
31 | public: | ||
32 | filePermissions( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 , const QString & fileName ="", bool useRemote = FALSE); | ||
33 | ~filePermissions(); | ||
34 | |||
35 | QLineEdit *LineEdit1, *ModeLine; | ||
36 | QLabel *TextLabel1, *TextLabel4, *TextLabel4_2, *TextLabel4_3, *TextLabel3_2_2, *TextLabel3_2, *TextLabel3, *TextLabel5_2, *TextLabel5; | ||
37 | QCheckBox*CheckBox1, *CheckBox1_3, *CheckBox1_2, *CheckBox1_4, *CheckBox1_5, *CheckBox1_6, *CheckBox1_7, *CheckBox1_8, *CheckBox1_8_2; | ||
38 | QLineEdit*GroupLineEdit, *OwnerLineEdit; | ||
39 | QString modeStr, file; | ||
40 | int i_mode; | ||
41 | uint moder; | ||
42 | bool isRemote; | ||
43 | private slots: | ||
44 | void ownReadCheck(); | ||
45 | void ownWriteCheck(); | ||
46 | void ownExeCheck(); | ||
47 | |||
48 | void grpReadCheck(); | ||
49 | void grpWriteCheck(); | ||
50 | void grpExeCheck(); | ||
51 | |||
52 | void wrldReadCheck(); | ||
53 | void wrldWriteCheck(); | ||
54 | void wrldExeCheck(); | ||
55 | void accept(); | ||
56 | }; | ||
57 | |||
58 | #endif // FILEPERMISSIONS_H | ||