mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
Bring back KWallet password backend test
This commit is contained in:
parent
2b05641430
commit
0f6720a32c
@ -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);
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user