X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/9826d810340d1f6fe135a300a66d689f37add41e..b3add256945863b01cfa2bc985b61be83fc3570c:/src/dolphinpart.h diff --git a/src/dolphinpart.h b/src/dolphinpart.h index 16c49f96e..a49603ca8 100644 --- a/src/dolphinpart.h +++ b/src/dolphinpart.h @@ -9,6 +9,7 @@ #include +#include #include class DolphinNewFileMenu; @@ -122,14 +123,11 @@ private Q_SLOTS: * @pos Position in screen coordinates. * @item File item context. If item is null, the context menu * should be applied to \a url. + * @selectedItems The selected items for which the context menu + * is opened. This list generally includes \a item. * @url URL which contains \a item. - * @customActions Actions that should be added to the context menu, - * if the file item is null. */ - void slotOpenContextMenu(const QPoint& pos, - const KFileItem& item, - const QUrl& url, - const QList& customActions); + void slotOpenContextMenu(const QPoint &pos, const KFileItem &_item, const KFileItemList &selectedItems, const QUrl &); /** * Informs the host that we are opening \a url (e.g. after a redirection @@ -218,6 +216,8 @@ private: void openSelectionDialog(const QString& title, const QString& text, bool selectItems); + QString urlToLocalFilePath(const QUrl &url); + QString localFilePathOrHome() const; private: DolphinView* m_view;