summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2022-08-17 22:48:01 +0300
committeraqua <aqua@iserlohn-fortress.net>2022-08-18 10:47:39 +0300
commitce06956d314dc8d7080ba96b76f4ee8ad851912a (patch)
treec01cd1d1e61acb7ef11cbc439f120d7540f3add5 /src/plugins
parentPass command line from secondary to primary instance (diff)
downloadrekonq-ce06956d314dc8d7080ba96b76f4ee8ad851912a.tar.xz
Show main window
- added Task Manager, showing all plugins, windows and view
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/pluginloader.h4
-rw-r--r--src/plugins/rview.hpp2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/pluginloader.h b/src/plugins/pluginloader.h
index f764da9f..319e985a 100644
--- a/src/plugins/pluginloader.h
+++ b/src/plugins/pluginloader.h
@@ -16,7 +16,9 @@ class PluginLoader : public QPluginLoader {
public:
explicit PluginLoader(const QString &path, QObject *parent = nullptr);
- [[nodiscard]] bool hasScheme(const QString &scheme) { return m_schemes.contains(scheme); }
+
+ [[nodiscard]] auto schemes() const { return m_schemes; }
+ [[nodiscard]] bool hasScheme(const QString &scheme) const { return m_schemes.contains(scheme); }
[[nodiscard]] RekonqPluginInterface *interface() { return qobject_cast<RekonqPluginInterface *>(instance()); }
diff --git a/src/plugins/rview.hpp b/src/plugins/rview.hpp
index 71bf5ddf..6f0652d5 100644
--- a/src/plugins/rview.hpp
+++ b/src/plugins/rview.hpp
@@ -18,6 +18,8 @@ class rView : public QWidget {
public:
explicit rView(const QUrl &url = QUrl(), QWidget *parent = nullptr) : QWidget(parent) {}
+ [[nodiscard]] virtual QString title() const = 0;
+
signals:
void iconChanged(const QIcon &);
void urlChanged(const QUrl &);