]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blobdiff - src/windows/BrowserWindow.h
Fix the loading of websites when the user agent changes. https://redmine.stoutner...
[PrivacyBrowserPC.git] / src / windows / BrowserWindow.h
index f4dc071e5f4c597c245f270e1dcf484fed09dbab..f86c1b2f11f7bfdd58ba3fa76ab106b229db6a82 100644 (file)
@@ -41,20 +41,32 @@ public:
 
 private Q_SLOTS:
     // The private slots.
+    void back() const;
     void fileNew() const;
+    void forward() const;
     void getZoomFactorFromUser();
+    void home() const;
+    void loadUrlFromLineEdit(const QString &url) const;
+    void refresh() const;
     void settingsConfigure();
+    void updateDomainSettingsIndicator(const bool status) const;
     void updateOnTheFlySearchEngine(const QString &searchEngine) const;
     void updateOnTheFlyUserAgent(const QString &userAgent) const;
     void updateOnTheFlyZoomFactor(const double &zoomFactor);
     void updateSearchEngineLabel(const QString &searchEngineString) const;
-    void updateStatusBar(const QString &statusBarMessage) const;
+    void updateUrlLineEdit(const QString &newUrl) const;
     void updateUserAgentLabel(const QString &userAgentDatabaseName) const;
 
 private:
     // The private variables.
+    QAction *backActionPointer;
     BrowserView *browserViewPointer;
+    KConfigDialog *configDialogPointer;
+    QPalette domainSettingsPalette;
     double currentZoomFactor;
+    QAction *forwardActionPointer;
+    QAction *homeActionPointer;
+    QPalette noDomainSettingsPalette;
     QLabel *searchEngineLabelPointer;
     QAction *searchEngineMojeekActionPointer;
     QAction *searchEngineMonoclesActionPointer;
@@ -63,6 +75,7 @@ private:
     QAction *searchEngineBingActionPointer;
     QAction *searchEngineYahooActionPointer;
     QAction *searchEngineCustomActionPointer;
+    QAction *refreshActionPointer;
     QLabel *userAgentLabelPointer;
     QAction *userAgentPrivacyBrowserActionPointer;
     QAction *userAgentFirefoxLinuxActionPointer;
@@ -72,7 +85,7 @@ private:
     QAction *userAgentEdgeWindowsActionPointer;
     QAction *userAgentSafariMacosActionPointer;
     QAction *userAgentCustomActionPointer;
+    KLineEdit *urlLineEditPointer;
     QAction *zoomFactorActionPointer;
-    KConfigDialog *configDialogPointer;
 };
 #endif