-rw-r--r-- | libopie/ofileselector.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libopie/ofileselector.h b/libopie/ofileselector.h index 3f53fa9..757a960 100644 --- a/libopie/ofileselector.h +++ b/libopie/ofileselector.h @@ -85,5 +85,6 @@ class OFileSelector : public QWidget { 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() ); @@ -124,6 +125,8 @@ class OFileSelector : public QWidget { 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; @@ -155,4 +158,5 @@ class OFileSelector : public QWidget { bool m_shYesNo:1; bool m_boCheckPerm:1; + bool m_autoMime:1; protected: |