author | groucho <groucho> | 2003-05-07 09:01:39 (UTC) |
---|---|---|
committer | groucho <groucho> | 2003-05-07 09:01:39 (UTC) |
commit | 118d03d815a7615b9c53363218a7ac45b3f4c514 (patch) (unidiff) | |
tree | 356953e2413cddcec0f35bd47bb6439767da7051 /noncore/apps/opie-reader/fileBrowser.h | |
parent | 00894537decf01c5a5cdc565b2740b5e67a2e90f (diff) | |
download | opie-118d03d815a7615b9c53363218a7ac45b3f4c514.zip opie-118d03d815a7615b9c53363218a7ac45b3f4c514.tar.gz opie-118d03d815a7615b9c53363218a7ac45b3f4c514.tar.bz2 |
Incorporated TimWs current source tree and make it compile
Diffstat (limited to 'noncore/apps/opie-reader/fileBrowser.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/fileBrowser.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/noncore/apps/opie-reader/fileBrowser.h b/noncore/apps/opie-reader/fileBrowser.h index 5521383..a5274f8 100644 --- a/noncore/apps/opie-reader/fileBrowser.h +++ b/noncore/apps/opie-reader/fileBrowser.h | |||
@@ -29,6 +29,7 @@ class QGridLayout; | |||
29 | class QtrListView; | 29 | class QtrListView; |
30 | class QListViewItem; | 30 | class QListViewItem; |
31 | class QPushButton; | 31 | class QPushButton; |
32 | class QLineEdit; | ||
32 | 33 | ||
33 | class fileBrowser : public QDialog | 34 | class fileBrowser : public QDialog |
34 | { | 35 | { |
@@ -36,7 +37,7 @@ class fileBrowser : public QDialog | |||
36 | 37 | ||
37 | public: | 38 | public: |
38 | void populateList(); | 39 | void populateList(); |
39 | fileBrowser( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ,const QString filter=0, const QString iPath=0); | 40 | fileBrowser( bool allownew, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ,const QString filter=0, const QString iPath=0); |
40 | ~fileBrowser(); | 41 | ~fileBrowser(); |
41 | 42 | ||
42 | QPushButton* buttonOk; | 43 | QPushButton* buttonOk; |
@@ -47,7 +48,8 @@ public: | |||
47 | QString selectedFileName, filterStr; | 48 | QString selectedFileName, filterStr; |
48 | QDir currentDir; | 49 | QDir currentDir; |
49 | QFile file; | 50 | QFile file; |
50 | QStringList fileList; | 51 | QString getCurrentFile(); |
52 | QLineEdit* m_filename; | ||
51 | int filterspec; | 53 | int filterspec; |
52 | // QDir::FilterSpec filterspec; | 54 | // QDir::FilterSpec filterspec; |
53 | 55 | ||
@@ -55,7 +57,7 @@ public: | |||
55 | public slots: | 57 | public slots: |
56 | 58 | ||
57 | private: | 59 | private: |
58 | 60 | QString filename; | |
59 | private slots: | 61 | private slots: |
60 | void upDir(); | 62 | void upDir(); |
61 | void listDoubleClicked(QListViewItem *); | 63 | void listDoubleClicked(QListViewItem *); |
@@ -63,6 +65,7 @@ private slots: | |||
63 | void OnRoot(); | 65 | void OnRoot(); |
64 | void OnCancel(); | 66 | void OnCancel(); |
65 | void setHidden(bool); | 67 | void setHidden(bool); |
68 | void onReturn(); | ||
66 | 69 | ||
67 | protected slots: | 70 | protected slots: |
68 | 71 | ||