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 updateUrlLineEdit();
+ void pageLinkHovered(const QString &linkUrl);
+ void updateInterface();
private:
// Define the private variables.
+ QPushButton *backButtonPointer;
+ QPushButton *forwardButtonPointer;
KLineEdit *urlLineEditPointer;
+ QWebEngineHistory *webEngineHistoryPointer;
QWebEngineView *webEngineViewPointer;
};
#endif