summaryrefslogtreecommitdiff
path: root/libopie/ofileselector.h
Unidiff
Diffstat (limited to 'libopie/ofileselector.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/ofileselector.h6
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 {
85 public: 85 public:
86 enum Mode {OPEN=1, SAVE, FILESELECTOR }; 86 enum Mode {OPEN=1, SAVE, FILESELECTOR };
87 enum Selector{NORMAL=1, EXTENDED }; 87 enum Selector{NORMAL=1, EXTENDED = 2, EXTENDED_ALL =4 };
88 enum View { DIRS = 1, FILES = 2, TREE = 4, ICON = 8 };
88 OFileSelector(QWidget *wid, int mode, int selector, const QString &dirName, const QString &fileName = QString::null, const QStringList mimetypes = QStringList() ); 89 OFileSelector(QWidget *wid, int mode, int selector, const QString &dirName, const QString &fileName = QString::null, const QStringList mimetypes = QStringList() );
89 90
@@ -124,6 +125,8 @@ class OFileSelector : public QWidget {
124 void slotCancel(); 125 void slotCancel();
125 void slotViewCheck(const QString & ); 126 void slotViewCheck(const QString & );
127 void slotMimeCheck(const QString & );
126 protected: 128 protected:
127 void init(); 129 void init();
130 void updateMimes();
128 int m_mode, m_selector; 131 int m_mode, m_selector;
129 QComboBox *m_location, *m_mimeCheck, *m_viewCheck; 132 QComboBox *m_location, *m_mimeCheck, *m_viewCheck;
@@ -155,4 +158,5 @@ class OFileSelector : public QWidget {
155 bool m_shYesNo:1; 158 bool m_shYesNo:1;
156 bool m_boCheckPerm:1; 159 bool m_boCheckPerm:1;
160 bool m_autoMime:1;
157 161
158 protected: 162 protected: