]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinpart.h
First version of a unit test for KItemListController
[dolphin.git] / src / dolphinpart.h
index 17650469ded7cd0083545219cc4c1f6f06497cec..92ee71d2cd8ea9074d395a4b3ef0ae3f161b6cc0 100644 (file)
@@ -128,20 +128,22 @@ private Q_SLOTS:
     /**
      * Handles clicking on an item
      */
-    void slotItemTriggered(const KFileItem& item);
+    void slotItemActivated(const KFileItem& item);
     /**
      * Creates a new window showing the content of \a url.
      */
     void createNewWindow(const KUrl& url);
     /**
      * Opens the context menu on the current mouse position.
+     * @pos           Position in screen coordinates.
      * @item          File item context. If item is null, the context menu
      *                should be applied to \a url.
      * @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 KFileItem& item,
+    void slotOpenContextMenu(const QPoint& pos,
+                             const KFileItem& item,
                              const KUrl& url,
                              const QList<QAction*>& customActions);