libqutim
0.3.2.0
|
#include <account.h>
Account is base class for all account entites.
qutim_sdk_0_3::Account::Account | ( | const QString & | id, |
Protocol * | protocol | ||
) |
Account's contructor with identification id and protocol.
Identification is unique in current protocol, i.e. JID for XMPP or UIN for ICQ.
qutim_sdk_0_3::Account::Account | ( | AccountPrivate & | p, |
Protocol * | protocol | ||
) |
virtual qutim_sdk_0_3::Account::~Account | ( | ) | [virtual] |
Account destructor.
static AccountList qutim_sdk_0_3::Account::all | ( | ) | [static] |
void qutim_sdk_0_3::Account::conferenceCreated | ( | qutim_sdk_0_3::Conference * | conference | ) | [signal] |
Signal is emitted when new conference was created.
ConfigGroup qutim_sdk_0_3::Account::config | ( | const QString & | name | ) |
void qutim_sdk_0_3::Account::contactCreated | ( | qutim_sdk_0_3::Contact * | contact | ) | [signal] |
Signal is emitted when new contact was created.
virtual ChatUnit* qutim_sdk_0_3::Account::getUnit | ( | const QString & | unitId, |
bool | create = false |
||
) | [pure virtual] |
virtual ChatUnit* qutim_sdk_0_3::Account::getUnitForSession | ( | ChatUnit * | unit | ) | [virtual] |
Method looks for appropriate ChatUnit for conversation with unit.
Returns ChatUnit for ChatSession.
Returns the group chat manager of the account.
void qutim_sdk_0_3::Account::groupChatManagerChanged | ( | qutim_sdk_0_3::GroupChatManager * | manager | ) | [signal] |
Signal is emitted whenever the group chat manager has been reset.
QString qutim_sdk_0_3::Account::id | ( | ) | const |
Returns account's identification, which is unique for protocol.
virtual QString qutim_sdk_0_3::Account::name | ( | ) | const [virtual] |
Returns account's representable name.
void qutim_sdk_0_3::Account::nameChanged | ( | const QString & | current, |
const QString & | previous | ||
) | [signal] |
Signal is emitted when account's name was changed.
QVariantMap qutim_sdk_0_3::Account::parameters | ( | ) | const |
void qutim_sdk_0_3::Account::parametersChanged | ( | const QVariantMap & | parameters | ) | [signal] |
Returns pointer to account's Protocol.
const Protocol* qutim_sdk_0_3::Account::protocol | ( | ) | const |
Returns pointer to account's Protocol.
void qutim_sdk_0_3::Account::resetGroupChatManager | ( | GroupChatManager * | manager = 0 | ) | [protected] |
Sets the group chat manager to be used by this account.
void qutim_sdk_0_3::Account::setContactsFactory | ( | ContactsFactory * | factory | ) | [protected] |
void qutim_sdk_0_3::Account::setInfoRequestFactory | ( | InfoRequestFactory * | factory | ) | [protected] |
virtual void qutim_sdk_0_3::Account::setStatus | ( | Status | status | ) | [virtual] |
Asks account to change status on server.
If status is not offline and acount hasn't already connected to server it should try to do it, else if status is offline and account is conntected to server it should disconnect.
Status qutim_sdk_0_3::Account::status | ( | ) | const |
Returns account's status.
void qutim_sdk_0_3::Account::statusChanged | ( | const qutim_sdk_0_3::Status & | current, |
const qutim_sdk_0_3::Status & | previous | ||
) | [signal] |
Signal is emitted when account's status was changed.
ChatUnit * qutim_sdk_0_3::Account::unit | ( | const QString & | unitId, |
bool | create = false |
||
) | [inline] |
Q_INVOKABLE QStringList qutim_sdk_0_3::Account::updateParameters | ( | const QVariantMap & | parameters | ) |
QString qutim_sdk_0_3::Account::id [read] |
QString qutim_sdk_0_3::Account::name [read] |
QVariantMap qutim_sdk_0_3::Account::parameters [read, write] |
qutim_sdk_0_3::Status qutim_sdk_0_3::Account::status [read, write] |