author | llornkcor <llornkcor> | 2002-03-25 04:31:43 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-03-25 04:31:43 (UTC) |
commit | 2dc3d45e57eb3265fe77e868c76d92fa27f627af (patch) (side-by-side diff) | |
tree | d38258487935e59e5e49917f34566d34e473bb25 /core/apps/textedit/fileBrowser.h | |
parent | 2538c5e0182c0c9e8a60307f43ec3d5cac045cce (diff) | |
download | opie-2dc3d45e57eb3265fe77e868c76d92fa27f627af.zip opie-2dc3d45e57eb3265fe77e868c76d92fa27f627af.tar.gz opie-2dc3d45e57eb3265fe77e868c76d92fa27f627af.tar.bz2 |
set mimetype handling
Diffstat (limited to 'core/apps/textedit/fileBrowser.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/apps/textedit/fileBrowser.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/apps/textedit/fileBrowser.h b/core/apps/textedit/fileBrowser.h index 77ac166..1138d80 100644 --- a/core/apps/textedit/fileBrowser.h +++ b/core/apps/textedit/fileBrowser.h @@ -49,25 +49,26 @@ class fileBrowser : public QDialog Q_OBJECT public: fileBrowser( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ,const QString filter=0); ~fileBrowser(); - QString selectedFileName, mimeType; + QString selectedFileName; QFile file; QStringList fileList; QComboBox *SelectionCombo; public slots: void setFileView( int ); + void setMimeType(const QString &); private: // QDict<void> mimes; QPushButton *buttonOk, *buttonCancel, *homeButton, *docButton, *hideButton, *cdUpButton; QListView* ListView; QLabel *dirLabel; - QString filterStr; + QString filterStr, mimeType; QDir currentDir; QStringList dirPathStringList; QListViewItem * item; QComboBox *dirPathCombo; MenuButton *typemb; QWidgetStack *FileStack; |