]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinviewcontainer.h
Use KMessageBox::warningContinueCancel when appropriate
[dolphin.git] / src / dolphinviewcontainer.h
index 7d5e87c327604981212e16da7fb259f6c51725cf..0c8b184fe3e2a94e76ebd3574792218482e41b5e 100644 (file)
@@ -66,6 +66,7 @@ public:
      * The URL navigator is synchronized with this URL.
      */
     QUrl url() const;
+    KFileItem rootItem() const;
 
     /**
      * If \a active is true, the view container will marked as active. The active
@@ -325,6 +326,11 @@ private Q_SLOTS:
      */
     void slotItemsActivated(const KFileItemList &items);
 
+    /**
+     * Handles middle click of file. It opens the file passed using the second application associated with the file's mimetype.
+     */
+    void slotfileMiddleClickActivated(const KFileItem &item);
+
     /**
      * Shows the information for the item \a item inside the statusbar. If the
      * item is null, the default statusbar information is shown.