// The default 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 updateUrlLineEdit();
+
private:
- // Declare the private variables.
- Ui::MainView mainViewUi;
+ // Define the private variables.
+ KLineEdit *urlLineEditPointer;
+ QWebEngineView *webEngineViewPointer;
};
#endif