Changeset View
Changeset View
Standalone View
Standalone View
src/filewidgets/kfileplacesmodel.h
Show First 20 Lines • Show All 180 Lines • ▼ Show 20 Line(s) | 44 | public: | |||
---|---|---|---|---|---|
181 | * Virtual URLs for bookmarks are used to be independent from | 181 | * Virtual URLs for bookmarks are used to be independent from | ||
182 | * internal format changes. | 182 | * internal format changes. | ||
183 | * @param an url | 183 | * @param an url | ||
184 | * @return the converted URL, which can be handled by an ioslave | 184 | * @return the converted URL, which can be handled by an ioslave | ||
185 | * @since 5.41 | 185 | * @since 5.41 | ||
186 | */ | 186 | */ | ||
187 | static QUrl convertedUrl(const QUrl &url); | 187 | static QUrl convertedUrl(const QUrl &url); | ||
188 | 188 | | |||
189 | /** | ||||
190 | * Set the URL schemes that the file widget should allow navigating to. | ||||
191 | * | ||||
192 | * If the returned list is empty, all schemes are supported. | ||||
193 | * | ||||
194 | * @sa QFileDialog::setSupportedSchemes | ||||
195 | * @since 5.43 | ||||
196 | */ | ||||
197 | void setSupportedSchemes(const QStringList &schemes); | ||||
198 | | ||||
199 | /** | ||||
200 | * Returns the URL schemes that the file widget should allow navigating to. | ||||
201 | * | ||||
202 | * If the returned list is empty, all schemes are supported. | ||||
203 | * | ||||
204 | * @sa QFileDialog::supportedSchemes | ||||
205 | * @since 5.43 | ||||
206 | */ | ||||
207 | QStringList supportedSchemes() const; | ||||
208 | | ||||
189 | Q_SIGNALS: | 209 | Q_SIGNALS: | ||
190 | void errorMessage(const QString &message); | 210 | void errorMessage(const QString &message); | ||
191 | void setupDone(const QModelIndex &index, bool success); | 211 | void setupDone(const QModelIndex &index, bool success); | ||
192 | void groupHiddenChanged(KFilePlacesModel::GroupType group, bool hidden); | 212 | void groupHiddenChanged(KFilePlacesModel::GroupType group, bool hidden); | ||
193 | 213 | | |||
194 | private: | 214 | private: | ||
195 | Q_PRIVATE_SLOT(d, void _k_initDeviceList()) | 215 | Q_PRIVATE_SLOT(d, void _k_initDeviceList()) | ||
196 | Q_PRIVATE_SLOT(d, void _k_deviceAdded(const QString &)) | 216 | Q_PRIVATE_SLOT(d, void _k_deviceAdded(const QString &)) | ||
Show All 12 Lines |