diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2019-02-01 04:11:25 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-02-01 17:16:43 -0800 |
commit | a1ffe115cfb27bd0dd57bf5266c7d37d9ce64dab (patch) | |
tree | 6589e06ecce1d0c461900fd2537bf5125afadf9d /desktop-widgets/plugins/facebook/facebook_integration.cpp | |
parent | 0c07b02974a65608d7d71ef150d322678ec1170b (diff) | |
download | subsurface-a1ffe115cfb27bd0dd57bf5266c7d37d9ce64dab.tar.gz |
facebook: remove the featute from the code base
Remove from:
- unit tests
- desktop widgets
- preferences
- core intergration
- cmakefiles
- build scripts
- icons
- docs
Also remove the plugins and social network integration.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'desktop-widgets/plugins/facebook/facebook_integration.cpp')
-rw-r--r-- | desktop-widgets/plugins/facebook/facebook_integration.cpp | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/desktop-widgets/plugins/facebook/facebook_integration.cpp b/desktop-widgets/plugins/facebook/facebook_integration.cpp deleted file mode 100644 index 30fa83610..000000000 --- a/desktop-widgets/plugins/facebook/facebook_integration.cpp +++ /dev/null @@ -1,43 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "facebook_integration.h" -#include "facebookconnectwidget.h" - -#include <QDebug> - -FacebookPlugin::FacebookPlugin(QObject*) : - fbConnectWidget(new FacebookConnectWidget()) -{ -} - -bool FacebookPlugin::isConnected() -{ - FacebookManager *instance = FacebookManager::instance(); - return instance->loggedIn(); -} - -void FacebookPlugin::requestLogin() -{ - fbConnectWidget->exec(); -} - -void FacebookPlugin::requestLogoff() -{ - FacebookManager::instance()->logout(); -} - -QString FacebookPlugin::socialNetworkIcon() const -{ - return QString(); -} - -QString FacebookPlugin::socialNetworkName() const -{ - return tr("Facebook"); -} - -void FacebookPlugin::requestUpload() -{ - FacebookManager *instance = FacebookManager::instance(); - if (instance->loggedIn()) - instance->sendDiveInit(); -} |