From 85bc196887fbed01187e3830cd28c2500cb01cb2 Mon Sep 17 00:00:00 2001 From: David Faure Date: Mon, 26 Mar 2007 23:04:43 +0000 Subject: Ported to KBookmarkManager::closestBookmark - which even solves another TODO about code duplication. Improved urlnavigator API to avoid exposing the full QList (api independent from implementation now). svn path=/trunk/KDE/kdebase/apps/; revision=646954 --- src/bookmarkselector.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/bookmarkselector.h') diff --git a/src/bookmarkselector.h b/src/bookmarkselector.h index a92f186ec..a5f0d434e 100644 --- a/src/bookmarkselector.h +++ b/src/bookmarkselector.h @@ -63,22 +63,6 @@ public: /** @see QWidget::sizeHint() */ virtual QSize sizeHint() const; - /** - * Returns the base bookmark for the URL \a url. - * The base bookmark is defined as bookmark which is equal to - * the URL or at least is a parent URL. If there are more than - * one possible parent URL candidates, the bookmark which covers - * the bigger range of the URL is returned. - * - * Example: the url is '/home/peter/Documents/Music. Available - * bookmarks are: - * - /home/peter - * - /home/peter/Documents - * - * The base URL will be '/home/peter/Documents'. - */ - static KBookmark baseBookmark(KBookmarkManager* bookmarkManager, const KUrl& url); - signals: /** * Is send when a bookmark has been activated by the user. -- cgit v1.3