]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blobdiff - src/mainview.h
Display hovered link URLs in the status bar.
[PrivacyBrowserPC.git] / src / mainview.h
index 8129ecaf57bdf9618ea9ad0ebb03febfe8e8810f..47a9f270a14c9dc07a1ef3f61cff7dc89a01525e 100644 (file)
@@ -32,8 +32,19 @@ public:
     // 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