knode
knaccountmanager.h
Go to the documentation of this file.
96 void accountRemoved( KNNntpAccount::Ptr a ); // don't do anything with a, it will be deleted soon
bool removeAccount(KNNntpAccount::Ptr a=KNNntpAccount::Ptr())
Remove an existing account.
Definition: knaccountmanager.cpp:132
static KWallet::Wallet * wallet()
Returns a pointer to an open wallet if available, 0 otherwise.
Definition: knaccountmanager.cpp:239
boost::shared_ptr< KNNntpAccount > Ptr
Shared pointer to a KNNntpAccount.
Definition: knnntpaccount.h:62
KNNntpAccount::Ptr currentAccount() const
Returns the current account.
Definition: knaccountmanager.h:73
void accountAdded(KNNntpAccount::Ptr a)
void accountRemoved(KNNntpAccount::Ptr a)
KNAccountManager(KNGroupManager *gm, QObject *parent=0)
Create a new account manager.
Definition: knaccountmanager.cpp:36
KNNntpAccount::Ptr first() const
Returns the first account (used as fallback sometimes).
Definition: knaccountmanager.cpp:199
void loadPasswords()
Loads the passwords of all accounts, allows on-demand wallet opening.
Definition: knaccountmanager.cpp:231
void editProperties(KNNntpAccount::Ptr a=KNNntpAccount::Ptr())
Show the properties dialog for the given account.
Definition: knaccountmanager.cpp:180
void setCurrentAccount(KNNntpAccount::Ptr a)
Sets the current account.
Definition: knaccountmanager.cpp:95
void passwordsChanged()
Emitted if passwords have been loaded from the wallet.
KNNntpAccount::List accounts() const
Returns the list of all accounts.
Definition: knaccountmanager.h:77
void accountRenamed(KNNntpAccount::Ptr a=KNNntpAccount::Ptr())
Definition: knaccountmanager.cpp:190
bool hasCurrentAccount() const
Returns true if there is a current account.
Definition: knaccountmanager.h:71
KNNntpAccount::Ptr c_urrentAccount
Definition: knaccountmanager.h:92
void loadPasswordsAsync()
Loads passwords of all accounts asynchronous.
Definition: knaccountmanager.cpp:207
void accountModified(KNNntpAccount::Ptr a)
KNNntpAccount::Ptr account(int id)
Returns the account with the given id.
Definition: knaccountmanager.cpp:84
~KNAccountManager()
Delete this account manager and all managed accounts.
Definition: knaccountmanager.cpp:44
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.