Nepomuk-Core
Go to the documentation of this file.
21 #ifndef WALLETINTERFACE_H
22 #define WALLETINTERFACE_H
24 #include <TelepathyQt/Account>
25 #include <TelepathyQt/PendingOperation>
27 #include <KWallet/Wallet>
29 #include <QScopedPointer>
36 class WalletInterfacePrivate;
45 friend class WalletInterfacePrivate;
52 bool hasPassword(
const Tp::AccountPtr &account);
55 QString password(
const Tp::AccountPtr &account);
58 void setPassword(
const Tp::AccountPtr &account,
const QString &password);
61 void setLastLoginFailed(
const Tp::AccountPtr &account,
bool failed);
64 bool lastLoginFailed(
const Tp::AccountPtr &account);
67 void removePassword(
const Tp::AccountPtr &account);
70 bool hasEntry(
const Tp::AccountPtr &account,
const QString &key);
73 QString entry(
const Tp::AccountPtr &account,
const QString &key);
76 void setEntry(
const Tp::AccountPtr &account,
const QString &key,
const QString &value);
79 void removeEntry(
const Tp::AccountPtr &account,
const QString &key);
82 void removeAllEntries(
const Tp::AccountPtr &account);
85 void removeAccount(
const Tp::AccountPtr &account);
91 KWallet::Wallet* wallet()
const;
96 virtual ~WalletInterface();
97 WalletInterfacePrivate * const d;
102 #endif // WALLETINTERFACE_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Fri Mar 22 2013 10:58:52 by
doxygen 1.8.1.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.