File indexing completed on 2024-05-12 15:47:07

0001 /*
0002     This file is part of the KDE libraries
0003     SPDX-FileCopyrightText: 2008 Michael Leupold <lemma@confuego.org>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-or-later
0006 */
0007 
0008 #ifndef KWALLETMANY_H
0009 #define KWALLETMANY_H
0010 
0011 #include <QList>
0012 #include <QObject>
0013 
0014 namespace KWallet
0015 {
0016 class Wallet;
0017 }
0018 
0019 class KWalletMany : public QObject
0020 {
0021     Q_OBJECT
0022 
0023 public:
0024     KWalletMany();
0025     ~KWalletMany() override;
0026 
0027 public Q_SLOTS:
0028     void walletOpened(bool open);
0029 
0030 private Q_SLOTS:
0031     void init();
0032     void openWallet();
0033 
0034 private:
0035     QList<KWallet::Wallet *> _wallets;
0036     int _pending;
0037 };
0038 
0039 #endif // KWALLETMANY_H