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"
void clear()
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
bool isNull() const
void accountAdded(KNNntpAccount::Ptr a)
void append(const T &value)
void accountRemoved(KNNntpAccount::Ptr a)
QString fileName() const
static void displayInternalFileError(QWidget *w=0)
use this for all internal files
Definition: utilities.cpp:344
bool isEmpty() const
QFileInfoList entryInfoList(QFlags< QDir::Filter > filters, QFlags< QDir::SortFlag > sort) const
int removeAll(const T &value)
typedef Iterator
T & first()
iterator end()
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.
QStringList entryList(QFlags< QDir::Filter > filters, QFlags< QDir::SortFlag > sort) const
typedef ConstIterator
void accountRenamed(KNNntpAccount::Ptr a=KNNntpAccount::Ptr())
Definition: knaccountmanager.cpp:190
int indexOf(const QRegExp &rx, int from) const
KNNntpAccount::Ptr c_urrentAccount
Definition: knaccountmanager.h:92
void loadPasswordsAsync()
Loads passwords of all accounts asynchronous.
Definition: knaccountmanager.cpp:207
const_iterator constEnd() const
const_iterator constBegin() const
void accountModified(KNNntpAccount::Ptr a)
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
iterator begin()
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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.