X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/6e88d7cef072e1b504f5d428a2ce7d8aff736a8d..9cd042a86c:/src/dolphintabwidget.h diff --git a/src/dolphintabwidget.h b/src/dolphintabwidget.h index 85b2d66f0..3e8301725 100644 --- a/src/dolphintabwidget.h +++ b/src/dolphintabwidget.h @@ -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 @@ -122,7 +128,7 @@ public slots: * is placed. */ void openNewTab(const QUrl &primaryUrl, const QUrl &secondaryUrl = QUrl(), - TabPlacement tabPlacement = AfterLastTab); + DolphinTabWidget::TabPlacement tabPlacement = AfterLastTab); /** * Opens each directory in \p dirs in a separate tab. If \a splitView is set,