]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinpart.h
Fix crash in Compact View if view height is smaller then item height
[dolphin.git] / src / dolphinpart.h
index 097753a1a5a22e43611e9771a7064ec33650a69f..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);
 
@@ -192,6 +194,11 @@ private Q_SLOTS:
      */
     void slotOpenTerminal();
 
+    /**
+     * Open KFind with the current path.
+     */
+    void slotFindFile();
+
     /**
      * Updates the 'Create New...' sub menu, just before it's shown.
      */