summaryrefslogtreecommitdiff
path: root/core/apps/textedit/fileBrowser.h
authorllornkcor <llornkcor>2002-03-24 14:17:21 (UTC)
committer llornkcor <llornkcor>2002-03-24 14:17:21 (UTC)
commit927d5f33cc4c36541d7fb7dde036bdd22f5d7253 (patch) (unidiff)
treecd846d8b462131c8c06c2ddf5787171449b8521e /core/apps/textedit/fileBrowser.h
parent807ea39f3ccfbc26e769fc16a79d459327e13437 (diff)
downloadopie-927d5f33cc4c36541d7fb7dde036bdd22f5d7253.zip
opie-927d5f33cc4c36541d7fb7dde036bdd22f5d7253.tar.gz
opie-927d5f33cc4c36541d7fb7dde036bdd22f5d7253.tar.bz2
changed things in filebrowser
Diffstat (limited to 'core/apps/textedit/fileBrowser.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/textedit/fileBrowser.h30
1 files changed, 22 insertions, 8 deletions
diff --git a/core/apps/textedit/fileBrowser.h b/core/apps/textedit/fileBrowser.h
index 4f765dd..8a98365 100644
--- a/core/apps/textedit/fileBrowser.h
+++ b/core/apps/textedit/fileBrowser.h
@@ -23,4 +23,5 @@ copyright Sun 02-17-2002 22:28:23 L. J. Potter ljp@llornkcor.com
23#include <qlabel.h> 23#include <qlabel.h>
24#include <qstring.h> 24#include <qstring.h>
25#include <qdict.h>
25 26
26#include <qpe/filemanager.h> 27#include <qpe/filemanager.h>
@@ -36,4 +37,7 @@ class QWidgetStack;
36class FileSelector; 37class FileSelector;
37class QPoint; 38class QPoint;
39class MenuButton;
40class QRegExp;
41
38 42
39class fileBrowser : public QDialog 43class fileBrowser : public QDialog
@@ -48,5 +52,5 @@ public:
48 void setFileView( int ); 52 void setFileView( int );
49 53
50 QPushButton *buttonOk, *buttonCancel, *homeButton, *docButton, *hideButton; 54 QPushButton *buttonOk, *buttonCancel, *homeButton, *docButton, *hideButton, *cdUpButton;
51 QListView* ListView; 55 QListView* ListView;
52 56
@@ -55,11 +59,19 @@ public:
55 QDir currentDir; 59 QDir currentDir;
56 QFile file; 60 QFile file;
57 QStringList fileList; 61 QStringList fileList, dirPathStringList;
58 QListViewItem * item; 62 QListViewItem * item;
59 QComboBox *SelectionCombo; 63 QComboBox *SelectionCombo, *dirPathCombo;
64 MenuButton *typemb;
60 QWidgetStack *FileStack; 65 QWidgetStack *FileStack;
61 FileSelector *fileSelector; 66 FileSelector *fileSelector;
62 67 QString mimeType;
63public slots: 68public slots:
69
70private:
71// QDict<void> mimes;
72 QRegExp tf;
73 QStringList getMimeTypes();
74 void fillCombo( const QString&);
75private slots:
64 void homeButtonPushed(); 76 void homeButtonPushed();
65 void docButtonPushed(); 77 void docButtonPushed();
@@ -70,7 +82,6 @@ public slots:
70 void localRename(); 82 void localRename();
71 void localDelete(); 83 void localDelete();
72private: 84 void receive( const QCString &msg, const QByteArray &data );
73 85 void dirPathComboActivated( const QString & );
74private slots:
75 void upDir(); 86 void upDir();
76 void listClicked( QListViewItem * ); 87 void listClicked( QListViewItem * );
@@ -78,5 +89,8 @@ private slots:
78 void OnOK(); 89 void OnOK();
79 void docOpen( const DocLnk & ); 90 void docOpen( const DocLnk & );
80 91 void updateMimeTypeMenu();
92 void showType(const QString &);
93 void dirPathEditPressed();
94
81protected slots: 95protected slots:
82 96