forked from blue/squawk
first working prototype of dynamically loaded kwallet storage
This commit is contained in:
parent
7ce27d1c11
commit
543538fc56
8 changed files with 484 additions and 17 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue