From f78e31382d4e4076a4fb2017c22574859e7afdb3 Mon Sep 17 00:00:00 2001 From: zecke Date: Wed, 27 Mar 2002 23:29:41 +0000 Subject: updates --- (limited to 'libopie/ofileselector.h') diff --git a/libopie/ofileselector.h b/libopie/ofileselector.h index 3f53fa9..757a960 100644 --- a/libopie/ofileselector.h +++ b/libopie/ofileselector.h @@ -84,7 +84,8 @@ class OFileSelector : public QWidget { Q_OBJECT public: enum Mode {OPEN=1, SAVE, FILESELECTOR }; - enum Selector{NORMAL=1, EXTENDED }; + enum Selector{NORMAL=1, EXTENDED = 2, EXTENDED_ALL =4 }; + enum View { DIRS = 1, FILES = 2, TREE = 4, ICON = 8 }; OFileSelector(QWidget *wid, int mode, int selector, const QString &dirName, const QString &fileName = QString::null, const QStringList mimetypes = QStringList() ); bool showToolbar() const { return m_shTool; }; @@ -123,8 +124,10 @@ class OFileSelector : public QWidget { void slotOk(); void slotCancel(); void slotViewCheck(const QString & ); + void slotMimeCheck(const QString & ); protected: void init(); + void updateMimes(); int m_mode, m_selector; QComboBox *m_location, *m_mimeCheck, *m_viewCheck; QPushButton *m_homeButton, *m_docButton, *m_hideButton, *m_ok, *m_cancel; @@ -154,6 +157,7 @@ class OFileSelector : public QWidget { bool m_shChooser:1; bool m_shYesNo:1; bool m_boCheckPerm:1; + bool m_autoMime:1; protected: -- cgit v0.9.0.2