author | groucho <groucho> | 2003-05-07 09:01:39 (UTC) |
---|---|---|
committer | groucho <groucho> | 2003-05-07 09:01:39 (UTC) |
commit | 118d03d815a7615b9c53363218a7ac45b3f4c514 (patch) (side-by-side diff) | |
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) (ignore 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; class QtrListView; class QListViewItem; class QPushButton; +class QLineEdit; class fileBrowser : public QDialog { @@ -36,7 +37,7 @@ class fileBrowser : public QDialog public: void populateList(); - fileBrowser( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ,const QString filter=0, const QString iPath=0); + fileBrowser( bool allownew, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ,const QString filter=0, const QString iPath=0); ~fileBrowser(); QPushButton* buttonOk; @@ -47,7 +48,8 @@ public: QString selectedFileName, filterStr; QDir currentDir; QFile file; - QStringList fileList; + QString getCurrentFile(); + QLineEdit* m_filename; int filterspec; // QDir::FilterSpec filterspec; @@ -55,7 +57,7 @@ public: public slots: private: - + QString filename; private slots: void upDir(); void listDoubleClicked(QListViewItem *); @@ -63,6 +65,7 @@ private slots: void OnRoot(); void OnCancel(); void setHidden(bool); + void onReturn(); protected slots: |