kopete/libkopete
Kopete::Identity Class Reference
#include <kopeteidentity.h>

Detailed Description
An identity that might contain one or more accounts associated to it
Definition at line 41 of file kopeteidentity.h.
Member Typedef Documentation
| typedef QList<Identity*> Kopete::Identity::List |
Definition at line 45 of file kopeteidentity.h.
Constructor & Destructor Documentation
| Kopete::Identity::Identity | ( | const QString & | label | ) |
The main constructor for Kopete Identities.
This will create an empty identity with a random id
- Parameters:
-
label the label to use for this identity
Definition at line 64 of file kopeteidentity.cpp.
Constructor for deserialising stored Identities.
- Parameters:
-
id the stored Identity's id label the stored Identity's label
Definition at line 56 of file kopeteidentity.cpp.
| Kopete::Identity::~Identity | ( | ) |
Definition at line 83 of file kopeteidentity.cpp.
Member Function Documentation
| void Kopete::Identity::addAccount | ( | Kopete::Account * | account | ) |
Adds an account to the identity.
- Parameters:
-
account the account to be added
Definition at line 190 of file kopeteidentity.cpp.
| Identity * Kopete::Identity::clone | ( | ) | const |
Duplicates an existing identity.
This will create a new identity name
- Parameters:
-
id,that clones all properties
- Returns:
- duplicate Identity
Definition at line 71 of file kopeteidentity.cpp.
| KConfigGroup * Kopete::Identity::configGroup | ( | ) | const |
Returns the KConfigGroup that should be used to read/write settings of this identity.
Definition at line 222 of file kopeteidentity.cpp.
| QString Kopete::Identity::customIcon | ( | ) | const |
| bool Kopete::Identity::excludeConnect | ( | ) | const |
This identity should be connected when connect all is called?
Definition at line 106 of file kopeteidentity.cpp.
| QString Kopete::Identity::id | ( | ) | const |
The id is a unique internal handle and should not be exposed in the UI.
- Returns:
- the identity's id
Definition at line 91 of file kopeteidentity.cpp.
| void Kopete::Identity::identityChanged | ( | Kopete::Identity * | identity | ) | [signal] |
| void Kopete::Identity::identityDestroyed | ( | const Kopete::Identity * | identity | ) | [signal] |
| QString Kopete::Identity::label | ( | ) | const |
The label is used to identify the identity in the UI.
- Returns:
- the identity's label
Definition at line 96 of file kopeteidentity.cpp.
| void Kopete::Identity::load | ( | ) |
| OnlineStatus::StatusType Kopete::Identity::onlineStatus | ( | ) | const |
Get the online status of the identity.
- Returns:
- the online status of the identity
Definition at line 138 of file kopeteidentity.cpp.
| void Kopete::Identity::onlineStatusChanged | ( | Kopete::Identity * | ) | [signal] |
| void Kopete::Identity::removeAccount | ( | const Kopete::Account * | account | ) | [slot] |
Removes an account from the identity.
- Parameters:
-
account the account to be removed
Definition at line 209 of file kopeteidentity.cpp.
| void Kopete::Identity::save | ( | ) |
| void Kopete::Identity::setLabel | ( | const QString & | label | ) |
Sets the label.
- Parameters:
-
newLabel a new label for the identity
Definition at line 101 of file kopeteidentity.cpp.
| void Kopete::Identity::setOnlineStatus | ( | uint | category, | |
| const Kopete::StatusMessage & | statusMessage | |||
| ) | [slot] |
Sets the online status for this identity Sets the online status for each account in this identity, except those which are set to 'Exclude from connect all' (Kopete::Account::excludeConnect()).
- Parameters:
-
category generic OnlineStatusManager::Categories identifying status to set statusMessage is the new status message to use in this onlinestatus
Definition at line 112 of file kopeteidentity.cpp.
| void Kopete::Identity::setStatusMessage | ( | const Kopete::StatusMessage & | statusMessage | ) | [slot] |
Sets the status message for this identity Sets the status message for each account in this identity, except those which are set to 'Exclude from connect all' (Kopete::Account::excludeConnect()).
- Parameters:
-
statusMessage is the new status message to use
Definition at line 125 of file kopeteidentity.cpp.
| void Kopete::Identity::slotSaveProperty | ( | Kopete::PropertyContainer * | container, | |
| const QString & | key, | |||
| const QVariant & | oldValue, | |||
| const QVariant & | newValue | |||
| ) | [protected, slot] |
Definition at line 269 of file kopeteidentity.cpp.
| Kopete::StatusMessage Kopete::Identity::statusMessage | ( | ) | const |
| QString Kopete::Identity::toolTip | ( | ) | const |
Get the tooltip for this identity.
- Returns:
- an RTF tooltip depending on Kopete::AppearanceSettings settings
Definition at line 148 of file kopeteidentity.cpp.
| void Kopete::Identity::toolTipChanged | ( | Kopete::Identity * | ) | [signal] |
| void Kopete::Identity::updateOnlineStatus | ( | ) | [slot] |
Definition at line 247 of file kopeteidentity.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference