X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserPC.git;a=blobdiff_plain;f=src%2Fmainview.h;h=5e5535fba43fb741a9ca5fecdc89ea454cc3a544;hp=8129ecaf57bdf9618ea9ad0ebb03febfe8e8810f;hb=3d2e70c352736d809d6d0b705864ce17ffde68ae;hpb=255215b082091aaadd5ef24cfc0880cd81e42272 diff --git a/src/mainview.h b/src/mainview.h index 8129eca..5e5535f 100644 --- a/src/mainview.h +++ b/src/mainview.h @@ -29,11 +29,25 @@ 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 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