┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/places/placespanel.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2012-05-16 23:11:56 +0200
committerPeter Penz <[email protected]>2012-05-16 23:13:55 +0200
commit3e2cf9721b7b9726af37d679d1afd6eaf306ad29 (patch)
treeb9fb21425d837904918f038773368d0941b6d28a /src/panels/places/placespanel.h
parent2fd31c8a95eaa38defa0f6adf3b83b12fc1aa1a3 (diff)
Provide default view properties for system-places
For the "Recently Accessed"-places and "Search For"-places like documents, images, audio-files and videos proper default properties are created now (e.g. previews and images-sizes are shown when searching for "images" etc).
Diffstat (limited to 'src/panels/places/placespanel.h')
-rw-r--r--src/panels/places/placespanel.h48
1 files changed, 0 insertions, 48 deletions
diff --git a/src/panels/places/placespanel.h b/src/panels/places/placespanel.h
index 4156cfea0..b3f259f56 100644
--- a/src/panels/places/placespanel.h
+++ b/src/panels/places/placespanel.h
@@ -21,8 +21,6 @@
#ifndef PLACESPANEL_H
#define PLACESPANEL_H
-#include <config-nepomuk.h>
-
#include <KUrl>
#include <panels/panel.h>
@@ -31,16 +29,6 @@ class PlacesItemEditDialog;
class PlacesItem;
class PlacesItemModel;
-#ifdef HAVE_NEPOMUK
- namespace Nepomuk
- {
- namespace Query
- {
- class Term;
- }
- }
-#endif
-
/**
* @brief Combines bookmarks and mounted devices as list.
*/
@@ -80,42 +68,6 @@ private:
*/
void selectClosestItem();
- /**
- * @return Converts the URL, which contains "virtual" URLs for system-items like
- * "search:/documents" into a Nepomuk-Query-URL that will be handled by
- * the corresponding IO-slave. Virtual URLs for bookmarks are used to
- * be independent from internal format changes.
- */
- static KUrl convertedUrl(const KUrl& url);
-
- /**
- * @return URL using the timeline-protocol for searching (see convertedUrl()).
- */
- static KUrl createTimelineUrl(const KUrl& url);
-
- /**
- * Helper method for createTimelineUrl().
- * @return String that represents a date-path in the format that
- * the timeline-protocol expects.
- */
- static QString timelineDateString(int year, int month, int day = 0);
-
- /**
- * @return URL that can be listed by KIO and results in searching
- * for a given term. The URL \a url represents a places-internal
- * URL like e.g. "search:/documents" (see convertedUrl()).
- */
- static KUrl createSearchUrl(const KUrl& url);
-
-#ifdef HAVE_NEPOMUK
- /**
- * Helper method for createSearchUrl().
- * @return URL that can be listed by KIO and results in searching
- * for the given term.
- */
- static KUrl searchUrlForTerm(const Nepomuk::Query::Term& term);
-#endif
-
private:
KItemListController* m_controller;
PlacesItemModel* m_model;