]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blobdiff - src/MainView.h
Reapply domain settings when the host changes.
[PrivacyBrowserPC.git] / src / MainView.h
index 4509c66cf52efaf8aec13cd0f3fbf2f14cefccc1..17c189dee5842be8256c228492f1a5869c18ed47 100644 (file)
@@ -39,16 +39,17 @@ public:
     explicit MainView(QWidget *parent);
 
 signals:
-    // Define the signals.
+    // The signals.
     void linkHovered(const QString &linkUrl) const;
 
 public Q_SLOTS:
-    // Define the public slots.
+    // The public slots.
     void applyApplicationSettings() const;
     void applyDomainSettingsAndReload() const;
+    void applyDomainSettingsWithoutReloading() const;
 
 private Q_SLOTS:
-    // Define the private slots.
+    // The private slots.
     void goHome() const;
     void loadUrlFromTextBox(QString urlFromUser) const;
     void pageLinkHovered(const QString &linkUrl) const;
@@ -56,7 +57,7 @@ private Q_SLOTS:
     void updateInterface() const;
 
 private:
-    // Define the private variables.
+    // The private variables.
     QPushButton *backButtonPointer;
     QPushButton *forwardButtonPointer;
     QPushButton *javaScriptButtonPointer;
@@ -66,7 +67,7 @@ private:
     QWebEngineSettings *webEngineSettingsPointer;
     QWebEngineView *webEngineViewPointer;
 
-    // Define the private functions.
+    // The private functions.
     void applyDomainSettings(bool reloadWebsite) const;
 };
 #endif