X-Git-Url: https://gitweb.stoutner.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmainview.h;h=76d0bbad7d85584dda6d6a728d8e702da5d05b40;hb=196ae0c95c22cf78557d4f11be317aa7181c9af0;hp=8129ecaf57bdf9618ea9ad0ebb03febfe8e8810f;hpb=255215b082091aaadd5ef24cfc0880cd81e42272;p=PrivacyBrowserPC.git diff --git a/src/mainview.h b/src/mainview.h index 8129eca..76d0bba 100644 --- a/src/mainview.h +++ b/src/mainview.h @@ -29,11 +29,26 @@ 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); + +private Q_SLOTS: + // Define the private slots. + void goHome(); + void loadUrl(const QString &urlFromUser); + void pageLinkHovered(const QString &linkUrl); + void updateInterface(); + private: - // Declare the private variables. - Ui::MainView mainViewUi; + // Define the private variables. + QPushButton *backButtonPointer; + QPushButton *forwardButtonPointer; + KLineEdit *urlLineEditPointer; + QWebEngineHistory *webEngineHistoryPointer; + QWebEngineView *webEngineViewPointer; }; #endif