author | llornkcor <llornkcor> | 2002-03-24 14:17:21 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-03-24 14:17:21 (UTC) |
commit | 927d5f33cc4c36541d7fb7dde036bdd22f5d7253 (patch) (side-by-side diff) | |
tree | cd846d8b462131c8c06c2ddf5787171449b8521e /core/apps/textedit/fileBrowser.h | |
parent | 807ea39f3ccfbc26e769fc16a79d459327e13437 (diff) | |
download | opie-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) (show whitespace changes)
-rw-r--r-- | core/apps/textedit/fileBrowser.h | 28 |
1 files changed, 21 insertions, 7 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 #include <qstring.h> +#include <qdict.h> @@ -37,2 +38,5 @@ class FileSelector; class QPoint; +class MenuButton; +class QRegExp; + @@ -49,3 +53,3 @@ public: - QPushButton *buttonOk, *buttonCancel, *homeButton, *docButton, *hideButton; + QPushButton *buttonOk, *buttonCancel, *homeButton, *docButton, *hideButton, *cdUpButton; QListView* ListView; @@ -56,9 +60,17 @@ public: QFile file; - QStringList fileList; + QStringList fileList, dirPathStringList; QListViewItem * item; - QComboBox *SelectionCombo; + QComboBox *SelectionCombo, *dirPathCombo; + MenuButton *typemb; QWidgetStack *FileStack; FileSelector *fileSelector; - + QString mimeType; public slots: + +private: +// QDict<void> mimes; + QRegExp tf; + QStringList getMimeTypes(); + void fillCombo( const QString&); +private slots: void homeButtonPushed(); @@ -71,5 +83,4 @@ public slots: void localDelete(); -private: - -private slots: + void receive( const QCString &msg, const QByteArray &data ); + void dirPathComboActivated( const QString & ); void upDir(); @@ -79,2 +90,5 @@ private slots: void docOpen( const DocLnk & ); + void updateMimeTypeMenu(); + void showType(const QString &); + void dirPathEditPressed(); |