File indexing completed on 2024-05-19 05:00:39
0001 /* 0002 * SPDX-FileCopyrightText: 2017 Elvis Angelaccio <elvis.angelaccio@kde.org> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 * 0006 */ 0007 0008 #pragma once 0009 0010 #include <KAccounts/KAccountsDPlugin> 0011 0012 class GoogleDrivePlugin : public KAccounts::KAccountsDPlugin 0013 { 0014 Q_OBJECT 0015 public: 0016 explicit GoogleDrivePlugin(QObject *parent, const QVariantList &args); 0017 0018 public Q_SLOTS: 0019 void onAccountCreated(const Accounts::AccountId accountId, const Accounts::ServiceList &serviceList) override; 0020 void onAccountRemoved(const Accounts::AccountId accountId) override; 0021 void onServiceEnabled(const Accounts::AccountId accountId, const Accounts::Service &service) override; 0022 void onServiceDisabled(const Accounts::AccountId accountId, const Accounts::Service &service) override; 0023 };