summaryrefslogtreecommitdiff
path: root/libopie/ofileselector.h
Unidiff
Diffstat (limited to 'libopie/ofileselector.h') (more/less context) (show whitespace changes)
-rw-r--r--libopie/ofileselector.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libopie/ofileselector.h b/libopie/ofileselector.h
index 17c494e..06ac806 100644
--- a/libopie/ofileselector.h
+++ b/libopie/ofileselector.h
@@ -100,48 +100,50 @@ class OFileSelector : public QWidget {
100 * @param fileName a proposed filename 100 * @param fileName a proposed filename
101 * @param mimetypes A list of mimetypes \ 101 * @param mimetypes A list of mimetypes \
102 * QString is for a identifier name like "Text files" 102 * QString is for a identifier name like "Text files"
103 * the coresponding QStringList is used for the mimetypes 103 * the coresponding QStringList is used for the mimetypes
104 * if empty it'll fill the list of mimetypes depending 104 * if empty it'll fill the list of mimetypes depending
105 * on the content of the current directory 105 * on the content of the current directory
106 */ 106 */
107 107
108 OFileSelector(QWidget *wid, int mode, int selector, 108 OFileSelector(QWidget *wid, int mode, int selector,
109 const QString &dirName, 109 const QString &dirName,
110 const QString &fileName = QString::null, 110 const QString &fileName = QString::null,
111 const MimeTypes &mimetypes = MimeTypes() ); 111 const MimeTypes &mimetypes = MimeTypes() );
112 112
113 113
114 /** 114 /**
115 * This is a QPE compatible c'tor 115 * This is a QPE compatible c'tor
116 */ 116 */
117 OFileSelector(const QString &mimeFilter, QWidget *parent, 117 OFileSelector(const QString &mimeFilter, QWidget *parent,
118 const char *name, bool newVisible = TRUE, 118 const char *name, bool newVisible = TRUE,
119 bool closeVisible = FALSE ); 119 bool closeVisible = FALSE );
120 120
121 ~OFileSelector(); 121 ~OFileSelector();
122 122
123 // currently only for the FILESELECTOR Mode 123 // currently only for the FILESELECTOR Mode
124 /**
125 */
124 void setNewVisible( bool /*b*/ ); 126 void setNewVisible( bool /*b*/ );
125 void setCloseVisible(bool /*b*/ ); 127 void setCloseVisible(bool /*b*/ );
126 128
127 // end file selector mode 129 // end file selector mode
128 // deprecated 130 // deprecated
129 void reread(); 131 void reread();
130 // make sure not to leak please 132 // make sure not to leak please
131 const DocLnk *selected(); 133 const DocLnk *selected();
132 // end deprecated 134 // end deprecated
133 135
134 bool isToolbarVisible() const { return m_shTool; }; 136 bool isToolbarVisible() const { return m_shTool; };
135 bool isPermissionBarVisible() const { return m_shPerm; }; 137 bool isPermissionBarVisible() const { return m_shPerm; };
136 bool isLineEditVisible()const { return m_shLne; }; 138 bool isLineEditVisible()const { return m_shLne; };
137 bool isChooserVisible( )const { return m_shChooser; }; 139 bool isChooserVisible( )const { return m_shChooser; };
138 bool isYesCancelVisible()const { return m_shYesNo; }; 140 bool isYesCancelVisible()const { return m_shYesNo; };
139 void setYesCancelVisible( bool show ); 141 void setYesCancelVisible( bool show );
140 void setToolbarVisible( bool show ); 142 void setToolbarVisible( bool show );
141 void setPermissionBarVisible( bool show ); 143 void setPermissionBarVisible( bool show );
142 void setLineEditVisible(bool show) ; 144 void setLineEditVisible(bool show) ;
143 void setChooserVisible( bool chooser ); 145 void setChooserVisible( bool chooser );
144 146
145 QCheckBox* permissionCheckbox(); 147 QCheckBox* permissionCheckbox();
146 bool setPermission() const; 148 bool setPermission() const;
147 void setPermissionChecked( bool check ); 149 void setPermissionChecked( bool check );