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; |