summaryrefslogtreecommitdiff
path: root/src/rview.h
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2022-08-16 09:00:40 +0300
committeraqua <aqua@iserlohn-fortress.net>2022-08-16 09:00:40 +0300
commit7a760b5d20f17de449665ee4fb26059c196489e3 (patch)
treebe8d41f452529ab52cbbc10eed28a04f16d00a08 /src/rview.h
parentAdd third-party/SingleApplication (diff)
downloadrekonq-7a760b5d20f17de449665ee4fb26059c196489e3.tar.xz
Add rView and WebView
Diffstat (limited to 'src/rview.h')
-rw-r--r--src/rview.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/rview.h b/src/rview.h
new file mode 100644
index 00000000..4f4cc897
--- /dev/null
+++ b/src/rview.h
@@ -0,0 +1,25 @@
+/* ============================================================
+ * The rekonq project
+ * ============================================================
+ * SPDX-License-Identifier: GPL-3.0-only
+ * Copyright (C) 2022 aqua <aqua@iserlohn-fortress.net>
+ * ============================================================
+ * Description: View Interface
+ * ============================================================ */
+
+#pragma once
+
+#include <QUrl>
+#include <QWidget>
+
+class rView : public QWidget {
+ Q_OBJECT
+
+public:
+ explicit rView(const QUrl &url = QUrl(), QWidget *parent = nullptr);
+
+signals:
+ void iconChanged(const QIcon &);
+ void urlChanged(const QUrl &);
+ void titleChanged(const QString &);
+};