X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserPC.git;a=blobdiff_plain;f=src%2Fmainview.h;h=ee82d79085ec91f1334f68f34626b667bf159123;hp=76d0bbad7d85584dda6d6a728d8e702da5d05b40;hb=1cbda7a594e97dd3ba6e1c0675be6ec9f6a424b2;hpb=196ae0c95c22cf78557d4f11be317aa7181c9af0 diff --git a/src/mainview.h b/src/mainview.h index 76d0bba..ee82d79 100644 --- a/src/mainview.h +++ b/src/mainview.h @@ -36,19 +36,27 @@ signals: // Define the signals. void linkHovered(const QString &linkUrl); +public Q_SLOTS: + // Define the public slots. + void applyApplicationSettings(); + void applyDomainSettings(); + private Q_SLOTS: // Define the private slots. void goHome(); void loadUrl(const QString &urlFromUser); void pageLinkHovered(const QString &linkUrl); + void toggleJavaScript(); void updateInterface(); private: // Define the private variables. QPushButton *backButtonPointer; QPushButton *forwardButtonPointer; + QPushButton *javaScriptButtonPointer; KLineEdit *urlLineEditPointer; QWebEngineHistory *webEngineHistoryPointer; + QWebEngineSettings *webEngineSettingsPointer; QWebEngineView *webEngineViewPointer; }; #endif