libkpimidentities
KPIM::Identity Class Reference
#include <identity.h>
Detailed Description
User identity information.
Definition at line 88 of file identity.h.
Public Types | |
typedef QValueList< Identity > | List |
Public Member Functions | |
bool | operator== (const Identity &other) const |
bool | operator!= (const Identity &other) const |
bool | operator< (const Identity &other) const |
bool | operator> (const Identity &other) const |
bool | operator<= (const Identity &other) const |
bool | operator>= (const Identity &other) const |
Identity (const QString &id=QString::null, const QString &realName=QString::null, const QString &emailAddr=QString::null, const QString &organization=QString::null, const QString &replyToAddress=QString::null) | |
~Identity () | |
bool | mailingAllowed () const |
QString | identityName () const |
void | setIdentityName (const QString &name) |
bool | isDefault () const |
uint | uoid () const |
QString | fullName () const |
void | setFullName (const QString &) |
QString | organization () const |
void | setOrganization (const QString &) |
KDE_DEPRECATED QCString | pgpIdentity () const |
KDE_DEPRECATED void | setPgpIdentity (const QCString &key) |
QCString | pgpEncryptionKey () const |
void | setPGPEncryptionKey (const QCString &key) |
QCString | pgpSigningKey () const |
void | setPGPSigningKey (const QCString &key) |
QCString | smimeEncryptionKey () const |
void | setSMIMEEncryptionKey (const QCString &key) |
QCString | smimeSigningKey () const |
void | setSMIMESigningKey (const QCString &key) |
Kleo::CryptoMessageFormat | preferredCryptoMessageFormat () const |
void | setPreferredCryptoMessageFormat (Kleo::CryptoMessageFormat format) |
QString | emailAddr () const |
void | setEmailAddr (const QString &) |
QString | vCardFile () const |
void | setVCardFile (const QString &) |
QString | fullEmailAddr () const |
QString | replyToAddr () const |
void | setReplyToAddr (const QString &) |
QString | bcc () const |
void | setBcc (const QString &aBcc) |
void | setSignature (const Signature &sig) |
Signature & | signature () |
QString | signatureText (bool *ok=0) const |
QString | transport () const |
void | setTransport (const QString &) |
QString | fcc () const |
void | setFcc (const QString &) |
QString | drafts () const |
void | setDrafts (const QString &) |
QString | dictionary () const |
void | setDictionary (const QString &) |
QString | xface () const |
void | setXFace (const QString &) |
bool | isXFaceEnabled () const |
void | setXFaceEnabled (const bool) |
bool | isNull () const |
Static Public Member Functions | |
static const Identity & | null () |
Protected Member Functions | |
void | readConfig (const KConfigBase *) |
void | writeConfig (KConfigBase *) const |
void | setIsDefault (bool flag) |
void | setUoid (uint aUoid) |
bool | signatureIsCommand () const |
bool | signatureIsPlainFile () const |
bool | signatureIsInline () const |
QString | signatureFile () const |
void | setSignatureFile (const QString &) |
QString | signatureInlineText () const |
void | setSignatureInlineText (const QString &) |
bool | useSignatureFile () const |
Protected Attributes | |
uint | mUoid |
QString | mIdentity |
QString | mFullName |
QString | mEmailAddr |
QString | mOrganization |
QString | mReplyToAddr |
QString | mBcc |
QString | mVCardFile |
QCString | mPGPEncryptionKey |
QCString | mPGPSigningKey |
QCString | mSMIMEEncryptionKey |
QCString | mSMIMESigningKey |
QString | mFcc |
QString | mDrafts |
QString | mTransport |
QString | mDictionary |
QString | mXFace |
bool | mXFaceEnabled |
Signature | mSignature |
bool | mIsDefault |
Kleo::CryptoMessageFormat | mPreferredCryptoMessageFormat |
Friends | |
class | IdentityManager |
QDataStream & | operator<< (QDataStream &stream, const KPIM::Identity &ident) |
QDataStream & | operator>> (QDataStream &stream, KPIM::Identity &ident) |
Constructor & Destructor Documentation
|
Constructor.
Definition at line 291 of file identity.cpp. |
|
Destructor.
Definition at line 308 of file identity.cpp. |
Member Function Documentation
|
email addresses for the BCC: field
Definition at line 224 of file identity.h. |
|
dictionary which should be used for spell checking
Definition at line 273 of file identity.h. |
|
The folder where draft messages from this identity will be stored by default.
Definition at line 269 of file identity.h. |
|
email address (without the user name - only name@host)
Definition at line 208 of file identity.h. |
|
The folder where sent messages from this identity will be stored by default.
Definition at line 264 of file identity.h. |
|
email address in the format "username <name@host>" suitable for the "From:" field of email messages.
Definition at line 492 of file identity.cpp. |
|
Full name of the user.
Definition at line 175 of file identity.h. |
|
Identity/nickname for this collection.
Definition at line 150 of file identity.h. |
|
Definition at line 154 of file identity.h. |
|
Tests if there are enough values set to allow mailing.
Definition at line 423 of file identity.cpp. |
|
used for sorting
Definition at line 109 of file identity.h. |
|
used for comparison
Definition at line 250 of file identity.cpp. |
|
The user's organization (optional).
Definition at line 179 of file identity.h. |
|
The user's OpenPGP encryption key.
Definition at line 189 of file identity.h. |
|
The user's OpenPGP signing key.
Definition at line 193 of file identity.h. |
|
Read configuration from config. Group must be preset (or use KConfigGroup). Called from IdentityManager. Definition at line 313 of file identity.cpp. |
|
email address for the ReplyTo: field
Definition at line 220 of file identity.h. |
|
Set whether this identity is the default identity. Since this affects all other identites, too (most notably, the old default identity), only the IdentityManager can change this. You should use kmkernel->identityManager()->setAsDefault( name_of_default )instead. Definition at line 429 of file identity.cpp. |
|
name of the signature file (with path)
Definition at line 239 of file identity.h. |
|
inline signature
Definition at line 243 of file identity.h. |
|
Definition at line 232 of file identity.h. |
|
Definition at line 236 of file identity.h. |
|
Definition at line 234 of file identity.h. |
|
Returns the signature.
This method also takes care of special signature files that are shell scripts and handles them correct. So use this method to rectreive the contents of the signature file. If Definition at line 595 of file identity.cpp. |
|
The user's S/MIME encryption key.
Definition at line 197 of file identity.h. |
|
The user's S/MIME signing key.
Definition at line 201 of file identity.h. |
|
The transport that is set for this identity. Used to link a transport with an identity. Definition at line 259 of file identity.h. |
|
Unique Object Identifier for this identity.
Definition at line 157 of file identity.h. |
|
Inline or signature from a file.
Definition at line 247 of file identity.h. |
|
vCard to attach to outgoing emails
Definition at line 212 of file identity.h. |
|
Write configuration to config. Group must be preset (or use KConfigGroup). Called from IdentityManager. Definition at line 346 of file identity.cpp. |
|
a X-Face header for this identity
Definition at line 277 of file identity.h. |
The documentation for this class was generated from the following files: