// 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 toggleJavaScript();
void updateInterface();
private:
// Define the private variables.
QPushButton *backButtonPointer;
QPushButton *forwardButtonPointer;
+ QPushButton *javaScriptButtonPointer;
KLineEdit *urlLineEditPointer;
QWebEngineHistory *webEngineHistoryPointer;
+ QWebEngineSettings *webEngineSettingsPointer;
QWebEngineView *webEngineViewPointer;
};
#endif