7#ifndef _KWALLETFREEDESKTOPITEM_H_
8#define _KWALLETFREEDESKTOPITEM_H_
9#include "kwalletfreedesktopservice.h"
11static inline constexpr auto FDO_SS_MAGICK = 0x4950414f44465353ULL;
14class KWalletFreedesktopCollection;
16class KWalletFreedesktopItem :
public QObject,
protected FDO_DBUS_CONTEXT
22 void setAttributes(
const StrStrMap &value);
25 qulonglong created()
const;
29 void setLabel(
const QString &value);
35 qulonglong modified()
const;
39 void setType(
const QString &value);
44 KWalletFreedesktopItem(KWalletFreedesktopCollection *collection, FdoUniqueLabel uniqLabel,
QDBusObjectPath path);
45 ~KWalletFreedesktopItem();
47 KWalletFreedesktopItem(
const KWalletFreedesktopItem &) =
delete;
48 KWalletFreedesktopItem &operator=(
const KWalletFreedesktopItem &) =
delete;
50 KWalletFreedesktopItem(KWalletFreedesktopItem &&) =
delete;
51 KWalletFreedesktopItem &operator=(KWalletFreedesktopItem &&) =
delete;
53 KWalletFreedesktopCollection *fdoCollection()
const;
54 KWalletFreedesktopService *fdoService()
const;
55 KWalletD *backend()
const;
57 const FdoUniqueLabel &uniqueLabel()
const;
58 void uniqueLabel(
const FdoUniqueLabel &uniqLabel);
69 void onPropertiesChanged(
const QVariantMap &properties);
70 void enableFdoFormat();
73 KWalletFreedesktopCollection *m_collection;
74 FdoUniqueLabel m_uniqueLabel;
76 bool m_wasDeleted =
false;
84 void SetSecret(
const FreedesktopSecret &secret);
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:06 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.