knode
knaccountmanager.cpp
Go to the documentation of this file.
88 for ( KNNntpAccount::List::ConstIterator it = mAccounts.constBegin(); it != mAccounts.constEnd(); ++it )
143 i18n("Do you really want to delete this account?"), "", KGuiItem( i18n("&Delete"), "edit-delete") )
148 KMessageBox::sorry( knGlobals.topWidget, i18n("At least one group of this account is currently in use.\n"
KNGroup::List groupsOfAccount(KNNntpAccount::Ptr a)
Returns the list of (subscribed) groups in the account a.
Definition: kngroupmanager.cpp:288
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
bool unsubscribeGroup(KNGroup::Ptr g=KNGroup::Ptr())
Definition: kngroupmanager.cpp:454
boost::shared_ptr< KNNntpAccount > Ptr
Shared pointer to a KNNntpAccount.
Definition: knnntpaccount.h:62
void accountAdded(KNNntpAccount::Ptr a)
void accountRemoved(KNNntpAccount::Ptr a)
static void displayInternalFileError(QWidget *w=0)
use this for all internal files
Definition: utilities.cpp:344
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.
void accountRenamed(KNNntpAccount::Ptr a=KNNntpAccount::Ptr())
Definition: knaccountmanager.cpp:190
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.