Diffstat (limited to 'core/apps/textedit/fileSaver.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/apps/textedit/fileSaver.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/apps/textedit/fileSaver.h b/core/apps/textedit/fileSaver.h index 4a38a65..ce4493e 100644 --- a/core/apps/textedit/fileSaver.h +++ b/core/apps/textedit/fileSaver.h | |||
@@ -22,43 +22,45 @@ copyright Sun 02-17-2002 22:28:48 L. J. Potter ljp@llornkcor.com | |||
22 | #include <qdir.h> | 22 | #include <qdir.h> |
23 | #include <qstringlist.h> | 23 | #include <qstringlist.h> |
24 | #include <qlabel.h> | 24 | #include <qlabel.h> |
25 | #include <qstring.h> | 25 | #include <qstring.h> |
26 | 26 | ||
27 | class QVBoxLayout; | 27 | class QVBoxLayout; |
28 | class QHBoxLayout; | 28 | class QHBoxLayout; |
29 | class QGridLayout; | 29 | class QGridLayout; |
30 | class QListView; | 30 | class QListView; |
31 | class QListViewItem; | 31 | class QListViewItem; |
32 | class QPushButton; | 32 | class QPushButton; |
33 | class QLineEdit; | 33 | class QLineEdit; |
34 | class QCheckBox; | ||
34 | 35 | ||
35 | class fileSaver : public QDialog | 36 | class fileSaver : public QDialog |
36 | { | 37 | { |
37 | Q_OBJECT | 38 | Q_OBJECT |
38 | 39 | ||
39 | public: | 40 | public: |
40 | void populateList(); | 41 | void populateList(); |
41 | fileSaver( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ,const QString filter=0); | 42 | fileSaver( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ,const QString filter=0); |
42 | ~fileSaver(); | 43 | ~fileSaver(); |
43 | QLineEdit *fileEdit; | 44 | QLineEdit *fileEdit; |
44 | 45 | ||
45 | QPushButton* buttonOk; | 46 | QPushButton* buttonOk; |
46 | QListView* ListView; | 47 | QListView* ListView; |
47 | QPushButton* buttonCancel; | 48 | QPushButton* buttonCancel; |
48 | QLabel *dirLabel; | 49 | QLabel *dirLabel; |
49 | QString selectedFileName, filterStr; | 50 | QString selectedFileName, filterStr; |
50 | QDir currentDir; | 51 | QDir currentDir; |
51 | QFile file; | 52 | QFile file; |
52 | QStringList fileList; | 53 | QStringList fileList; |
54 | QCheckBox *filePermCheck; | ||
53 | 55 | ||
54 | QListViewItem * item; | 56 | QListViewItem * item; |
55 | public slots: | 57 | public slots: |
56 | 58 | ||
57 | private: | 59 | private: |
58 | 60 | ||
59 | private slots: | 61 | private slots: |
60 | void accept(); | 62 | void accept(); |
61 | void upDir(); | 63 | void upDir(); |
62 | void listDoubleClicked(QListViewItem *); | 64 | void listDoubleClicked(QListViewItem *); |
63 | void listClicked(QListViewItem *); | 65 | void listClicked(QListViewItem *); |
64 | void closeEvent( QCloseEvent * ); | 66 | void closeEvent( QCloseEvent * ); |