]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphintabwidget.h
Open externally called files/directories in new tabs
[dolphin.git] / src / dolphintabwidget.h
index 7e3b30c0dff5285cc534d44fa21674070f503804..3e8301725c71e83c69fca4ab62d570aae87d5f51 100644 (file)
@@ -78,6 +78,12 @@ public:
      */
     void refreshViews();
 
+    /**
+     * @param url The URL that we would like
+     * @return index of the tab with the desired URL. returns -1 if not found
+     */
+    int getIndexByUrl(const QUrl& url) const;
+
 signals:
     /**
      * Is emitted when the active view has been changed, by changing the current