X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserPC.git;a=blobdiff_plain;f=src%2Fwindows%2FBrowserWindow.h;fp=src%2Fwindows%2FBrowserWindow.h;h=bfd76c0a46693b5689c2a3d3b3b655bfc15755a2;hp=9e5ecfe2858c09def25dd2c5ee5429841216faef;hb=823acbeb2cc27030857f249ab7157d8562e7b7fe;hpb=730c65f4a8c48df65ed0fcd8ddfbbc9bcfda0c1f diff --git a/src/windows/BrowserWindow.h b/src/windows/BrowserWindow.h index 9e5ecfe..bfd76c0 100644 --- a/src/windows/BrowserWindow.h +++ b/src/windows/BrowserWindow.h @@ -70,8 +70,8 @@ private Q_SLOTS: void updateDomainSettingsIndicator(const bool &status, const QString &domainSettingsDomain); void updateJavaScriptAction(const bool &isEnabled); void updateLocalStorageAction(const bool &isEnabled); - void updateSearchEngineActions(const QString &searchEngine) const; - void updateUserAgentActions(const QString &userAgent) const; + void updateSearchEngineActions(const QString &searchEngine, const bool &updateCustomSearchEngineStatus); + void updateUserAgentActions(const QString &userAgent, const bool &updateCustomUserAgentStatus); void updateZoomFactorAction(const double &zoomFactor); void updateSearchEngineLabel(const QString &searchEngineString) const; void updateUrlLineEdit(const QUrl &newUrl); @@ -86,6 +86,8 @@ private: QString currentDomainSettingsDomain; QUrl currentUrl; double currentZoomFactor; + bool customSearchEngineEnabled; + bool customUserAgentEnabled; QAction *domStorageActionPointer; QPalette domainSettingsPalette; QAction *javaScriptActionPointer;