X-Git-Url: https://gitweb.stoutner.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmainview.h;h=ee82d79085ec91f1334f68f34626b667bf159123;hb=1cbda7a594e97dd3ba6e1c0675be6ec9f6a424b2;hp=47a9f270a14c9dc07a1ef3f61cff7dc89a01525e;hpb=8e2e267828a6fbd7ed9950204c50a100e3f413fa;p=PrivacyBrowserPC.git diff --git a/src/mainview.h b/src/mainview.h index 47a9f27..ee82d79 100644 --- a/src/mainview.h +++ b/src/mainview.h @@ -29,22 +29,34 @@ class MainView : public QWidget Q_OBJECT public: - // The default contructor. + // The primary contructor. explicit MainView(QWidget *parent); 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 updateUrlLineEdit(); + void toggleJavaScript(); + void updateInterface(); private: // Define the private variables. + QPushButton *backButtonPointer; + QPushButton *forwardButtonPointer; + QPushButton *javaScriptButtonPointer; KLineEdit *urlLineEditPointer; + QWebEngineHistory *webEngineHistoryPointer; + QWebEngineSettings *webEngineSettingsPointer; QWebEngineView *webEngineViewPointer; }; #endif