diff options
Diffstat (limited to 'src/dolphinmainwindow.h')
| -rw-r--r-- | src/dolphinmainwindow.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index 5e1d27476..c1e0ffcbd 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -435,6 +435,12 @@ private: */ QString tabProperty(const QString& property, int tabIndex) const; + /** + * Sets the window caption to url.fileName() if this is non-empty, + * "/" if the URL is "file:///", and url.protocol() otherwise. + */ + void setUrlAsCaption(const KUrl& url); + private: /** * Implements a custom error handling for the undo manager. This |
