Changeset View
Changeset View
Standalone View
Standalone View
src/filewidgets/kurlnavigator.h
Show First 20 Lines • Show All 189 Lines • ▼ Show 20 Line(s) | 81 | public: | |||
---|---|---|---|---|---|
190 | 190 | | |||
191 | /** | 191 | /** | ||
192 | * @return True, if the URL is editable within a line editor. | 192 | * @return True, if the URL is editable within a line editor. | ||
193 | * If false is returned, each part of the URL is presented by a button | 193 | * If false is returned, each part of the URL is presented by a button | ||
194 | * for fast navigation ("breadcrumb view"). | 194 | * for fast navigation ("breadcrumb view"). | ||
195 | */ | 195 | */ | ||
196 | bool isUrlEditable() const; | 196 | bool isUrlEditable() const; | ||
197 | 197 | | |||
198 | void setDirectory(const QUrl &url); | ||||
199 | QUrl directory() const; | ||||
200 | | ||||
198 | /** | 201 | /** | ||
199 | * Shows the full path of the URL even if a place represents a part of the URL. | 202 | * Shows the full path of the URL even if a place represents a part of the URL. | ||
200 | * Assuming that a place called "Pictures" uses the URL /home/user/Pictures. | 203 | * Assuming that a place called "Pictures" uses the URL /home/user/Pictures. | ||
201 | * An URL like /home/user/Pictures/2008 is shown as [Pictures] > [2008] | 204 | * An URL like /home/user/Pictures/2008 is shown as [Pictures] > [2008] | ||
202 | * in the breadcrumb view, if showing the full path is turned off. If | 205 | * in the breadcrumb view, if showing the full path is turned off. If | ||
203 | * showing the full path is turned on, the URL is shown | 206 | * showing the full path is turned on, the URL is shown | ||
204 | * as [/] > [home] > [Pictures] > [2008]. | 207 | * as [/] > [home] > [Pictures] > [2008]. | ||
205 | * @since 4.2 | 208 | * @since 4.2 | ||
▲ Show 20 Lines • Show All 290 Lines • Show Last 20 Lines |