diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-01-04 22:00:25 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-01-04 23:03:40 +0200 |
commit | 93c92ce9791bb70cf3ff6af71e2f19e9b68d7584 (patch) | |
tree | fabbecb5a6712b400754ea1e5f7c892909d6e65c /src/browser.h | |
parent | Fix configuration not being read unless explicitly specified (diff) | |
download | smolbote-93c92ce9791bb70cf3ff6af71e2f19e9b68d7584.tar.xz |
Disable plugins as broken
- Fix several Qt deprecated warnings
Diffstat (limited to 'src/browser.h')
-rw-r--r-- | src/browser.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/browser.h b/src/browser.h index 1faf210..fb47c46 100644 --- a/src/browser.h +++ b/src/browser.h @@ -12,7 +12,6 @@ #include "session/session.h" #include <QJsonObject> #include <QVector> -#include <browserinterface.h> #include <functional> #include <memory> #include <singleapplication.h> @@ -24,8 +23,9 @@ class Configuration; class BookmarksWidget; class DownloadsWidget; class MainWindow; +class Profile; class WebProfileManager; -class Browser : public SingleApplication, public BrowserInterface +class Browser : public SingleApplication { Q_OBJECT @@ -38,10 +38,14 @@ public slots: public: // interface + [[deprecated]] WebProfileManager *getProfileManager(); - const QList<QPair<QString, Profile *>> profileList() const override; - QPair<QString, Profile *> loadProfile(const QString &id, bool isOffTheRecord = true) override; - void removeProfile(const QString &id) override; + [[deprecated]] + const QList<QPair<QString, Profile *>> profileList() const; + [[deprecated]] + QPair<QString, Profile *> loadProfile(const QString &id, bool isOffTheRecord = true); + [[deprecated]] + void removeProfile(const QString &id); QPluginLoader *addPlugin(const QString &path = QString()); |