Diffstat (limited to 'core/apps/textedit/fileBrowser.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/apps/textedit/fileBrowser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/apps/textedit/fileBrowser.h b/core/apps/textedit/fileBrowser.h index 17ed862..c0e1d4a 100644 --- a/core/apps/textedit/fileBrowser.h +++ b/core/apps/textedit/fileBrowser.h | |||
@@ -29,39 +29,39 @@ class QGridLayout; | |||
29 | class QListView; | 29 | class QListView; |
30 | class QListViewItem; | 30 | class QListViewItem; |
31 | class QPushButton; | 31 | class QPushButton; |
32 | 32 | ||
33 | class fileBrowser : public QDialog | 33 | class fileBrowser : public QDialog |
34 | { | 34 | { |
35 | Q_OBJECT | 35 | Q_OBJECT |
36 | 36 | ||
37 | public: | 37 | public: |
38 | void populateList(); | 38 | void populateList(); |
39 | fileBrowser( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ,const QString filter=0); | 39 | fileBrowser( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ,const QString filter=0); |
40 | ~fileBrowser(); | 40 | ~fileBrowser(); |
41 | 41 | ||
42 | QPushButton* buttonOk; | 42 | QPushButton* buttonOk; |
43 | QListView* ListView; | 43 | QListView* ListView; |
44 | QPushButton* buttonCancel; | 44 | QPushButton* buttonCancel; |
45 | QLabel *dirLabel; | 45 | QLabel *dirLabel; |
46 | QString selectedFileName, filterStr; | 46 | QString selectedFileName, filterStr; |
47 | QDir currentDir; | 47 | QDir currentDir; |
48 | QFile file; | 48 | QFile file; |
49 | QStringList fileList; | 49 | QStringList fileList; |
50 | 50 | ||
51 | QListViewItem * item; | 51 | QListViewItem * item; |
52 | public slots: | 52 | public slots: |
53 | 53 | void homeButtonPushed(); | |
54 | private: | 54 | private: |
55 | 55 | ||
56 | private slots: | 56 | private slots: |
57 | void upDir(); | 57 | void upDir(); |
58 | void listDoubleClicked(QListViewItem *); | 58 | void listDoubleClicked(QListViewItem *); |
59 | void listClicked(QListViewItem *); | 59 | void listClicked(QListViewItem *); |
60 | void OnOK(); | 60 | void OnOK(); |
61 | protected slots: | 61 | protected slots: |
62 | 62 | ||
63 | protected: | 63 | protected: |
64 | 64 | ||
65 | }; | 65 | }; |
66 | 66 | ||
67 | #endif // FILEBROWSER_H | 67 | #endif // FILEBROWSER_H |