Diffstat (limited to 'core/apps/textedit/fileBrowser.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/apps/textedit/fileBrowser.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/core/apps/textedit/fileBrowser.h b/core/apps/textedit/fileBrowser.h index d8f0d0d..4f765dd 100644 --- a/core/apps/textedit/fileBrowser.h +++ b/core/apps/textedit/fileBrowser.h | |||
@@ -25,24 +25,25 @@ copyright Sun 02-17-2002 22:28:23 L. J. Potter ljp@llornkcor.com | |||
25 | 25 | ||
26 | #include <qpe/filemanager.h> | 26 | #include <qpe/filemanager.h> |
27 | 27 | ||
28 | class QVBoxLayout; | 28 | class QVBoxLayout; |
29 | class QHBoxLayout; | 29 | class QHBoxLayout; |
30 | class QGridLayout; | 30 | class QGridLayout; |
31 | class QListView; | 31 | class QListView; |
32 | class QListViewItem; | 32 | class QListViewItem; |
33 | class QPushButton; | 33 | class QPushButton; |
34 | class QComboBox; | 34 | class QComboBox; |
35 | class QWidgetStack; | 35 | class QWidgetStack; |
36 | class FileSelector; | 36 | class FileSelector; |
37 | class QPoint; | ||
37 | 38 | ||
38 | class fileBrowser : public QDialog | 39 | class fileBrowser : public QDialog |
39 | { | 40 | { |
40 | Q_OBJECT | 41 | Q_OBJECT |
41 | 42 | ||
42 | public: | 43 | public: |
43 | void populateList(); | 44 | void populateList(); |
44 | fileBrowser( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ,const QString filter=0); | 45 | fileBrowser( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ,const QString filter=0); |
45 | ~fileBrowser(); | 46 | ~fileBrowser(); |
46 | 47 | ||
47 | void setFileView( int ); | 48 | void setFileView( int ); |
48 | 49 | ||
@@ -53,25 +54,30 @@ public: | |||
53 | QString selectedFileName, filterStr; | 54 | QString selectedFileName, filterStr; |
54 | QDir currentDir; | 55 | QDir currentDir; |
55 | QFile file; | 56 | QFile file; |
56 | QStringList fileList; | 57 | QStringList fileList; |
57 | QListViewItem * item; | 58 | QListViewItem * item; |
58 | QComboBox *SelectionCombo; | 59 | QComboBox *SelectionCombo; |
59 | QWidgetStack *FileStack; | 60 | QWidgetStack *FileStack; |
60 | FileSelector *fileSelector; | 61 | FileSelector *fileSelector; |
61 | 62 | ||
62 | public slots: | 63 | public slots: |
63 | void homeButtonPushed(); | 64 | void homeButtonPushed(); |
64 | void docButtonPushed(); | 65 | void docButtonPushed(); |
65 | 66 | void ListPressed( int, QListViewItem *, const QPoint&, int); | |
67 | void showListMenu(QListViewItem*); | ||
68 | void doCd(); | ||
69 | void makDir(); | ||
70 | void localRename(); | ||
71 | void localDelete(); | ||
66 | private: | 72 | private: |
67 | 73 | ||
68 | private slots: | 74 | private slots: |
69 | void upDir(); | 75 | void upDir(); |
70 | void listClicked( QListViewItem * ); | 76 | void listClicked( QListViewItem * ); |
71 | void selectionChanged( const QString & ); | 77 | void selectionChanged( const QString & ); |
72 | void OnOK(); | 78 | void OnOK(); |
73 | void docOpen( const DocLnk & ); | 79 | void docOpen( const DocLnk & ); |
74 | 80 | ||
75 | protected slots: | 81 | protected slots: |
76 | 82 | ||
77 | protected: | 83 | protected: |