diff options
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; |