1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-19 18:26:34 +01:00

Bring back KWallet password backend test

This commit is contained in:
David Rosca 2015-10-09 11:35:57 +02:00
parent 2b05641430
commit 0f6720a32c
3 changed files with 12 additions and 10 deletions

View File

@ -20,6 +20,12 @@
#include <QDateTime>
#if QT_VERSION >= 0x050000
#include <KF5/KWallet/KWallet>
#else
#include <KDE/KWallet/Wallet>
#endif
static PasswordEntry decodeEntry(const QByteArray &data)
{
QDataStream stream(data);

View File

@ -20,15 +20,13 @@
#include <QVector>
#if QT_VERSION >= 0x050000
#include <KF5/KWallet/KWallet>
#else
#include <KDE/KWallet/Wallet>
#endif
#include "passwordbackends/passwordbackend.h"
#include "passwordmanager.h"
namespace KWallet {
class Wallet;
}
class KWalletPasswordBackend : public PasswordBackend
{
public:

View File

@ -11,10 +11,8 @@ QMAKE_LFLAGS+=$${QMAKE_LFLAGS_RPATH}$$PWD/../../bin
# KWallet plugin
exists($$PWD/../../bin/plugins/libKWalletPasswords.so) {
isEqual(QT_MAJOR_VERSION, 4) | qtHaveModule(KWallet) {
LIBS += $$PWD/../../bin/plugins/libKWalletPasswords.so
DEFINES += HAVE_KDE_PASSWORDS_PLUGIN
}
LIBS += $$PWD/../../bin/plugins/libKWalletPasswords.so
DEFINES += HAVE_KDE_PASSWORDS_PLUGIN
}
# GnomeKeyring plugin