From 93c92ce9791bb70cf3ff6af71e2f19e9b68d7584 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sat, 4 Jan 2020 22:00:25 +0200 Subject: Disable plugins as broken - Fix several Qt deprecated warnings --- include/browserinterface.h | 21 --------------------- include/plugininterface.h | 6 ------ 2 files changed, 27 deletions(-) delete mode 100644 include/browserinterface.h (limited to 'include') diff --git a/include/browserinterface.h b/include/browserinterface.h deleted file mode 100644 index 4cdc63b..0000000 --- a/include/browserinterface.h +++ /dev/null @@ -1,21 +0,0 @@ -/* - * This file is part of smolbote. It's copyrighted by the contributors recorded - * in the version control history of the file, available from its original - * location: https://neueland.iserlohn-fortress.net/gitea/aqua/smolbote - * - * SPDX-License-Identifier: MIT - */ - -#pragma once - -class Profile; -class BrowserInterface -{ -public: - virtual ~BrowserInterface() = default; - - // profile access - virtual const QList> profileList() const = 0; - virtual QPair loadProfile(const QString &id, bool isOffTheRecord = true) = 0; - virtual void removeProfile(const QString &id) = 0; -}; diff --git a/include/plugininterface.h b/include/plugininterface.h index 103ee62..6da417c 100644 --- a/include/plugininterface.h +++ b/include/plugininterface.h @@ -12,7 +12,6 @@ #include #include #include -#include "browserinterface.h" #include typedef QHash> CommandHash_t; @@ -24,11 +23,6 @@ public: virtual ~PluginInterface() = default; virtual CommandHash_t commands() = 0; virtual QDialog *createWidget(QWidget *parent = nullptr) const = 0; - -protected: - BrowserInterface *browser() const { - return dynamic_cast(qApp); - } }; #define PluginInterfaceIid "net.iserlohn-fortress.smolbote.PluginInterface" -- cgit v1.2.1