diff options
author | aqua <aqua@iserlohn-fortress.net> | 2022-08-22 10:06:00 +0300 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2022-08-28 09:49:20 +0300 |
commit | 05a053b65443b55787ae075fc4e99181673c2d56 (patch) | |
tree | be240b23f5bb3f88dce4c9d55d450ebefe9d0bbe /src/application.hpp | |
parent | Add Setting and MockSettings (diff) | |
download | rekonq-05a053b65443b55787ae075fc4e99181673c2d56.tar.xz |
Load plugins from AppLocalDataLocation by default
Diffstat (limited to 'src/application.hpp')
-rw-r--r-- | src/application.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/application.hpp b/src/application.hpp index 9d98b5a0..cc38bda9 100644 --- a/src/application.hpp +++ b/src/application.hpp @@ -21,9 +21,7 @@ class RekonqView; class RekonqWindow; class PluginLoader; - -// class WebTab; -// class WebPage; +class RekonqSettings; typedef QList<QPointer<PluginLoader>> RekonqPluginList; typedef QList<QPointer<RekonqWindow>> RekonqWindowList; @@ -46,6 +44,7 @@ public: // int newInstance(); static Application *instance() { return (qobject_cast<Application *>(QCoreApplication::instance())); } + [[nodiscard]] auto *settings() const { return m_settings; } // RekonqWindow *rekonqWindow(const QString &activityID = QString()); [[nodiscard]] auto windowList() const { return m_windows; } @@ -122,6 +121,8 @@ private slots: // void pageCreated(WebPage *); private: + RekonqSettings *m_settings; + RekonqPluginList m_plugins; RekonqWindowList m_windows; RekonqViewList m_views; |