KWallet

kwalletentry.h
1/*
2 This file is part of the KDE project
3 SPDX-FileCopyrightText: 2001-2003 George Staikos <staikos@kde.org>
4
5 SPDX-License-Identifier: LGPL-2.0-or-later
6*/
7
8#ifndef _KWALLETENTRY_H
9#define _KWALLETENTRY_H
10
11#include <QString>
12
13#include <kwallet.h>
14
15#include "kwalletbackend_export.h"
16
17namespace KWallet
18{
19/* @internal
20 */
21class KWALLETBACKEND_EXPORT Entry
22{
23public:
24 Entry();
25 ~Entry();
26
27 const QString &key() const;
28 const QByteArray &value() const;
29 QString password() const;
30 const QByteArray &map() const
31 {
32 return value();
33 }
34
35 void setValue(const QByteArray &val);
36 void setValue(const QString &val);
37 void setKey(const QString &key);
38
39 Wallet::EntryType type() const;
40 void setType(Wallet::EntryType type);
41
42 void copy(const Entry *x);
43
44private:
45 QString _key;
46 QByteArray _value;
47 Wallet::EntryType _type;
48};
49
50}
51
52#endif
Type type(const QSqlDatabase &db)
const QList< QKeySequence > & copy()
QFuture< void > map(Iterator begin, Iterator end, MapFunctor &&function)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:12:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.