author | zecke <zecke> | 2003-04-13 16:57:28 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-04-13 16:57:28 (UTC) |
commit | 0b311079ff19798866291034663757103c6ba935 (patch) (unidiff) | |
tree | 70ddccf3a3147475050fa06cc2d807a71ab1d5ee /libopie/ofileselector.h | |
parent | 1537ccb435ca725c793db6e94e0b9e83484b57e7 (diff) | |
download | opie-0b311079ff19798866291034663757103c6ba935.zip opie-0b311079ff19798866291034663757103c6ba935.tar.gz opie-0b311079ff19798866291034663757103c6ba935.tar.bz2 |
Jumbo API documentation update
and some API fixed
ColorDialog is now OColorDialog!!! keep the namespace tidy!
ColorPopupMenu is now OColorPopupMenu!!! keep the namespace tidy
ColorDialog TT couldn't break bc we can so make it const QColor&
OTimePicker add some convience methods
more I might have forgot
-rw-r--r-- | libopie/ofileselector.h | 2 |
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 ); |