1
0
Fork 0
forked from blue/squawk

first working prototype of dynamically loaded kwallet storage

This commit is contained in:
Blue 2020-04-10 01:48:08 +03:00
parent 7ce27d1c11
commit 543538fc56
8 changed files with 484 additions and 17 deletions

View file

@ -34,6 +34,8 @@
#include "networkaccess.h"
#include "external/simpleCrypt/simplecrypt.h"
#include "passwordStorageEngines/kwallet.h"
namespace Core
{
class Squawk : public QObject
@ -114,6 +116,7 @@ private:
Shared::Availability state;
NetworkAccess network;
uint8_t waitingForAccounts;
PSE::KWallet kwallet;
private slots:
void addAccount(
@ -147,6 +150,10 @@ private slots:
void onAccountRemoveRoomPresence(const QString& jid, const QString& nick);
void onAccountChangeMessage(const QString& jid, const QString& id, const QMap<QString, QVariant>& data);
void onWalletOpened(bool success);
void onWalletResponsePassword(const QString& login, const QString& password);
void onWalletRejectPassword(const QString& login);
private:
void readSettings();
void accountReady();