From 277e385fd8a1f23cacf801f469e373b64e9443c0 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 11 Mar 2007 09:15:08 +0000 Subject: support drag & drop for the treeview sidebar page svn path=/trunk/KDE/kdebase/apps/; revision=641405 --- src/treeviewsidebarpage.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/treeviewsidebarpage.h') diff --git a/src/treeviewsidebarpage.h b/src/treeviewsidebarpage.h index 981090855..ca98277eb 100644 --- a/src/treeviewsidebarpage.h +++ b/src/treeviewsidebarpage.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006 by Peter Penz + * Copyright (C) 2006 by Peter Penz * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -25,7 +25,6 @@ class KDirLister; class KDirModel; -class KUrl; class DolphinSortFilterProxyModel; class SidebarTreeView; @@ -73,6 +72,12 @@ private slots: */ void updateActiveView(const QModelIndex& index); + /** + * Is emitted if the URLs \a urls have been dropped + * to the position \a pos. */ + void dropUrls(const KUrl::List& urls, + const QPoint& pos); + private: /** * Connects to signals from the currently active Dolphin view to get @@ -88,4 +93,4 @@ private: KUrl m_selectedUrl; }; -#endif // BOOKMARKSSIDEBARPAGE_H +#endif // TREEVIEWSIDEBARPAGE_H -- cgit v1.3