From 7f96282e41012a367b956f8a36758c32c51767c8 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 6 May 2012 12:31:21 +0200 Subject: Allow to remember view-properties for search-results Until now it was only possible to adjust the view-properties for searching in general. Now the view-properties can be adjusted dependent on the query (e.g. images, documents, ...). --- src/views/viewproperties.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/views/viewproperties.h') diff --git a/src/views/viewproperties.h b/src/views/viewproperties.h index 29f7c282c..cfa98e9e4 100644 --- a/src/views/viewproperties.h +++ b/src/views/viewproperties.h @@ -159,6 +159,12 @@ private: */ static bool isPartOfHome(const QString& filePath); + /** + * @return A hash-value for an URL that can be used as directory name. + * Is used to be able to remember view-properties for long nepomuksearch-URLs. + */ + static QString directoryHashForUrl(const KUrl& url); + Q_DISABLE_COPY(ViewProperties) private: -- cgit v1.3.1