┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.h
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2009-05-05 21:49:03 +0000
committerFrank Reininghaus <[email protected]>2009-05-05 21:49:03 +0000
commitcc8a62ff160c0619b09fe7827c6fd6f38e023866 (patch)
tree09d9c19dc69310a27d816453afd344a32475da0f /src/dolphinmainwindow.h
parent0738c273ce927a32db0be2fa6e29f15a554a947d (diff)
Don't show an empty window caption when browsing "/", "trash:", etc.
BUG: 190783 svn path=/trunk/KDE/kdebase/apps/; revision=964061
Diffstat (limited to 'src/dolphinmainwindow.h')
-rw-r--r--src/dolphinmainwindow.h6
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