kpimidentities
identitymanager.h
const Identity & identityForUoid(uint uoid) const
Definition identitymanager.cpp:359
void added(const KPIMIdentities::Identity &ident)
Emitted on commit() for each new identity.
void sort()
Sort the identities by name (the default is always first).
Definition identitymanager.cpp:257
bool removeIdentityForced(const QString &identityName)
Removes the identity with name identityName Will return false if the identity is not found,...
Definition identitymanager.cpp:489
QStringList allEmails() const
Returns the list of all email addresses (only name@host) from all identities.
Definition identitymanager.cpp:638
const Identity & defaultIdentity() const
Definition identitymanager.cpp:428
void changed(const KPIMIdentities::Identity &ident)
Emitted whenever the identity ident changed.
Identity & modifyIdentityForName(const QString &identityName)
Definition identitymanager.cpp:400
bool isUnique(const QString &name) const
Definition identitymanager.cpp:156
QList< Identity > mShadowIdentities
The list that will be seen by the config dialog.
Definition identitymanager.h:226
Iterator modifyBegin()
Iterator used by the configuration dialog, which works on a separate list of identities,...
Definition identitymanager.cpp:349
void changed(uint uoid)
Emitted whenever the identity with Unique Object Identifier (UOID) uoid changed.
Identity & modifyIdentityForUoid(uint uoid)
Definition identitymanager.cpp:414
const Identity & identityForAddress(const QString &addresses) const
Definition identitymanager.cpp:379
const Identity & identityForUoidOrDefault(uint uoid) const
Convenience menthod.
Definition identitymanager.cpp:369
virtual void createDefaultIdentity(QString &, QString &)
This is called when no identity has been defined, so we need to create a default one.
Definition identitymanager.h:216
bool hasPendingChanges() const
Check whether there are any unsaved changes.
Definition identitymanager.cpp:230
QStringList identities() const
Definition identitymanager.cpp:235
bool thatIsMe(const QString &addressList) const
Definition identitymanager.cpp:395
bool setAsDefault(uint uoid)
Sets the identity with Unique Object Identifier (UOID) uoid to be new the default identity.
Definition identitymanager.cpp:444
void changed()
Emitted whenever a commit changes any configure option.
void deleted(uint uoid)
Emitted on commit() for each deleted identity.
bool removeIdentity(const QString &identityName)
Removes the identity with name identityName Will return false if the identity is not found,...
Definition identitymanager.cpp:470
void commit()
Commit changes to disk and emit changed() if necessary.
Definition identitymanager.cpp:161
IdentityManager(bool readonly=false, QObject *parent=0, const char *name=0)
Create an identity manager, which loads the emailidentities file to create identities.
Definition identitymanager.cpp:61
QList< Identity > mIdentities
The list that will be seen by everyone.
Definition identitymanager.h:224
QString makeUnique(const QString &name) const
Definition identitymanager.cpp:143
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.