┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/viewproperties.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2012-05-06 12:31:21 +0200
committerPeter Penz <[email protected]>2012-05-06 12:33:28 +0200
commit7f96282e41012a367b956f8a36758c32c51767c8 (patch)
tree7bfa9576d3ca06bacfce8543512a5cc5b95008ab /src/views/viewproperties.h
parent37bd2116cb1f30a8c465ece41f53ba099c2331a0 (diff)
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, ...).
Diffstat (limited to 'src/views/viewproperties.h')
-rw-r--r--src/views/viewproperties.h6
1 files changed, 6 insertions, 0 deletions
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: