summaryrefslogtreecommitdiff
path: root/core/apps/textedit/fileBrowser.h
authordrw <drw>2002-03-18 00:02:20 (UTC)
committer drw <drw>2002-03-18 00:02:20 (UTC)
commitb02657a01fc513e099c2d66be48d5a7b46cf6074 (patch) (side-by-side diff)
tree1222fd77f10de1b1948b38bfb5fbe5656f8fa5c6 /core/apps/textedit/fileBrowser.h
parent378db8490c6c80ced939622605be1500fa126a2d (diff)
downloadopie-b02657a01fc513e099c2d66be48d5a7b46cf6074.zip
opie-b02657a01fc513e099c2d66be48d5a7b46cf6074.tar.gz
opie-b02657a01fc513e099c2d66be48d5a7b46cf6074.tar.bz2
Combined file open & filebrowse into one dialog
Diffstat (limited to 'core/apps/textedit/fileBrowser.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/textedit/fileBrowser.h43
1 files changed, 28 insertions, 15 deletions
diff --git a/core/apps/textedit/fileBrowser.h b/core/apps/textedit/fileBrowser.h
index 50ed485..d8f0d0d 100644
--- a/core/apps/textedit/fileBrowser.h
+++ b/core/apps/textedit/fileBrowser.h
@@ -19,5 +19,5 @@ copyright Sun 02-17-2002 22:28:23 L. J. Potter ljp@llornkcor.com
#include <qdialog.h>
-#include <qfile.h>
-#include <qdir.h>
-#include <qstringlist.h>
+#include <qfile.h>
+#include <qdir.h>
+#include <qstringlist.h>
#include <qlabel.h>
@@ -25,5 +25,7 @@ copyright Sun 02-17-2002 22:28:23 L. J. Potter ljp@llornkcor.com
-class QVBoxLayout;
-class QHBoxLayout;
-class QGridLayout;
+#include <qpe/filemanager.h>
+
+class QVBoxLayout;
+class QHBoxLayout;
+class QGridLayout;
class QListView;
@@ -31,5 +33,8 @@ class QListViewItem;
class QPushButton;
+class QComboBox;
+class QWidgetStack;
+class FileSelector;
class fileBrowser : public QDialog
-{
+{
Q_OBJECT
@@ -41,2 +46,4 @@ public:
+ void setFileView( int );
+
QPushButton *buttonOk, *buttonCancel, *homeButton, *docButton, *hideButton;
@@ -50,14 +57,20 @@ public:
QListViewItem * item;
+ QComboBox *SelectionCombo;
+ QWidgetStack *FileStack;
+ FileSelector *fileSelector;
+
public slots:
void homeButtonPushed();
- void docButtonPushed();
- void hideButtonPushed(bool);
+ void docButtonPushed();
+
private:
-private slots:
- void upDir();
- void listDoubleClicked(QListViewItem *);
- void listClicked(QListViewItem *);
- void OnOK();
-protected slots:
+private slots:
+ void upDir();
+ void listClicked( QListViewItem * );
+ void selectionChanged( const QString & );
+ void OnOK();
+ void docOpen( const DocLnk & );
+
+protected slots: