summaryrefslogtreecommitdiff
path: root/core/apps/textedit/fileBrowser.h
Unidiff
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
@@ -24,2 +24,3 @@ copyright Sun 02-17-2002 22:28:23 L. J. Potter ljp@llornkcor.com
24#include <qstring.h> 24#include <qstring.h>
25#include <qdict.h>
25 26
@@ -37,2 +38,5 @@ class FileSelector;
37class QPoint; 38class QPoint;
39class MenuButton;
40class QRegExp;
41
38 42
@@ -49,3 +53,3 @@ public:
49 53
50 QPushButton *buttonOk, *buttonCancel, *homeButton, *docButton, *hideButton; 54 QPushButton *buttonOk, *buttonCancel, *homeButton, *docButton, *hideButton, *cdUpButton;
51 QListView* ListView; 55 QListView* ListView;
@@ -56,9 +60,17 @@ public:
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();
@@ -71,5 +83,4 @@ public slots:
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();
@@ -79,3 +90,6 @@ private slots:
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: