┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphindropcontroller.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-09-28 18:38:00 +0000
committerPeter Penz <[email protected]>2008-09-28 18:38:00 +0000
commit0382f24544d71eae01a85b98ab24b82daf482ecc (patch)
tree62a375abc208639093ed51c9ccfd26ab30b7d658 /src/dolphindropcontroller.h
parentf8a973dc4ad0a1388058a9acbb20a81bc58149cb (diff)
Use KonqOperations::doDrop() instead of a custom dropping code. Still some minor issues are open (Dolphin currently gets no feedback anymore when the operations have been finished), but they will be solved during the next week.
BUG: 168154 svn path=/trunk/KDE/kdebase/apps/; revision=865708
Diffstat (limited to 'src/dolphindropcontroller.h')
-rw-r--r--src/dolphindropcontroller.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/dolphindropcontroller.h b/src/dolphindropcontroller.h
index 955d1614c..647955802 100644
--- a/src/dolphindropcontroller.h
+++ b/src/dolphindropcontroller.h
@@ -21,11 +21,14 @@
#define DOLPHINDROPCONTROLLER_H
#include <QObject>
-#include <kurl.h>
#include <kio/fileundomanager.h>
#include "libdolphin_export.h"
+class QDropEvent;
+class KUrl;
+class KFileItem;
+
/**
* @brief Handler for drop events, shared between DolphinView and TreeViewSidebarPage
*/
@@ -41,14 +44,13 @@ public:
* destination. A context menu with the options
* 'Move Here', 'Copy Here', 'Link Here' and
* 'Cancel' is offered to the user.
- * @param urls List of URLs which have been
- * dropped.
- * @param destination Destination URL, where the
- * list or URLs should be moved,
- * copied or linked to.
+ * @param destItem Item of the destination (can be null, see KFileItem::isNull()).
+ * @param destPath Path of the destination.
+ * @param event Drop event
*/
- void dropUrls(const KUrl::List& urls,
- const KUrl& destination);
+ void dropUrls(const KFileItem& destItem,
+ const KUrl& destPath,
+ QDropEvent* event);
signals:
/**