void pasteIntoFolder();
/**
- * Handles a drop of @p dropEvent onto @p destUrl
+ * Handles a drop of @p dropEvent onto widget @p dropWidget and destination @p destUrl
*/
- void dropUrls(const QUrl &destUrl, QDropEvent *dropEvent);
+ void dropUrls(const QUrl &destUrl, QDropEvent *dropEvent, QWidget *dropWidget);
void stopLoading();
void slotItemDropEvent(int index, QGraphicsSceneDragDropEvent* event);
void slotModelChanged(KItemModelBase* current, KItemModelBase* previous);
void slotMouseButtonPressed(int itemIndex, Qt::MouseButtons buttons);
+ void slotRenameDialogRenamingFinished(const QList<QUrl>& urls);
/*
* Is called when new items get pasted or dropped.
*/
QUrl viewPropertiesUrl() const;
+ /**
+ * Clears the selection and updates current item and selection according to the parameters
+ *
+ * @param current URL to be set as current
+ * @param selected list of selected items
+ */
+ void forceUrlsSelection(const QUrl& current, const QList<QUrl>& selected);
+
private:
void updatePalette();