┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphintabwidget.h
diff options
context:
space:
mode:
authorElvis Angelaccio <[email protected]>2019-09-02 23:18:33 +0200
committerElvis Angelaccio <[email protected]>2019-09-02 23:18:33 +0200
commit3df68fb667a9d0df0bfe53ff762c88b9fcde28f6 (patch)
tree4cd658cfd0a9491713de2293ad167220516a52ce /src/dolphintabwidget.h
parent63c195b7ed9fa11c91dfed59bf00d65b66426339 (diff)
parenta6403716439ae72bfdf86a14af94ea9d212f08ee (diff)
Merge branch 'Applications/19.08'
Diffstat (limited to 'src/dolphintabwidget.h')
-rw-r--r--src/dolphintabwidget.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/dolphintabwidget.h b/src/dolphintabwidget.h
index 3e8301725..7eb001b21 100644
--- a/src/dolphintabwidget.h
+++ b/src/dolphintabwidget.h
@@ -80,9 +80,13 @@ public:
/**
* @param url The URL that we would like
- * @return index of the tab with the desired URL. returns -1 if not found
+ * @return a QPair with first containing the index of the tab with the
+ * desired URL or -1 if not found. Second says true if URL is in primary
+ * view container, false otherwise. False means the URL is in the secondary
+ * view container, unless first == -1. In that case the value of second
+ * is meaningless.
*/
- int getIndexByUrl(const QUrl& url) const;
+ QPair<int, bool> getIndexByUrl(const QUrl& url) const;
signals:
/**