X-Git-Url: https://gitweb.stoutner.com/?a=blobdiff_plain;f=src%2Fwidgets%2FTabWidget.h;h=06676d642e14cbe91b871323bf3dc25f59c13635;hb=77398618a48027f56c9bbd95e8a02245d79f6884;hp=4cbfe97eb5bcd92cbf25f7055666f64fc5e2a704;hpb=37e86f9f1e43c3cf67d4d6a5f0f21a66e1df23fc;p=PrivacyBrowserPC.git diff --git a/src/widgets/TabWidget.h b/src/widgets/TabWidget.h index 4cbfe97..06676d6 100644 --- a/src/widgets/TabWidget.h +++ b/src/widgets/TabWidget.h @@ -100,7 +100,7 @@ signals: public Q_SLOTS: // The public slots. void addCookieToStore(QNetworkCookie cookie, QWebEngineCookieStore *webEngineCookieStorePointer = nullptr) const; - PrivacyWebEngineView* addTab(const bool removeUrlLineEditFocus = false, const bool backgroundTab = false, const QString urlString = nullptr); + PrivacyWebEngineView* addTab(const bool removeUrlLineEditFocus = false, const bool adjacent = false, const bool backgroundTab = false, const QString urlString = nullptr); void applyApplicationSettings(); void applyDomainSettingsAndReload(); void applyOnTheFlySearchEngine(QAction *searchEngineActionPointer); @@ -136,6 +136,9 @@ private Q_SLOTS: void useNativeKdeDownloader(QUrl &downloadUrl, QString &suggestedFileName); private: + // The private functions. + void updateDownloadDirectory(QString newDownloadDirectory) const; + // The private variables. PrivacyWebEngineView *currentPrivacyWebEngineViewPointer; QWebEngineCookieStore *currentWebEngineCookieStorePointer;