Account is base class for all account entites.
More...
#include <account.h>
List of all members.
Detailed Description
Account is base class for all account entites.
Member Enumeration Documentation
- Enumerator:
ReadParametersHook |
|
UpdateParametersHook |
|
Constructor & Destructor Documentation
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] |
Member Function Documentation
static AccountList qutim_sdk_0_3::Account::all |
( |
| ) |
[static] |
Signal is emitted when new conference was created.
ConfigGroup qutim_sdk_0_3::Account::config |
( |
const QString & |
name | ) |
|
Returns ConfigGroup for certain group with name.
It's equal to
Config qutim_sdk_0_3::Account::config |
( |
| ) |
|
Returns Config for current account.
It's equal to
Config(protocol()->id() + '.' + id() + "/account")
Signal is emitted when new contact was created.
virtual ChatUnit* qutim_sdk_0_3::Account::getUnit |
( |
const QString & |
unitId, |
|
|
bool |
create = false |
|
) |
| [pure virtual] |
Method Returns ChatUnit by it's identification string unitId.
If create is true create new ChatUnit if it doesn't exist. Returnes ChatUnit with iq equal to unitId.
If unitId is invalid, i.e. invalid JID, unit won't be created and NULL will be returned.
virtual ChatUnit* qutim_sdk_0_3::Account::getUnitForSession |
( |
ChatUnit * |
unit | ) |
[virtual] |
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] |
Protocol* qutim_sdk_0_3::Account::protocol |
( |
| ) |
|
const Protocol* qutim_sdk_0_3::Account::protocol |
( |
| ) |
const |
void qutim_sdk_0_3::Account::resetGroupChatManager |
( |
GroupChatManager * |
manager = 0 | ) |
[protected] |
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.
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 | ) |
|
Property Documentation
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] |
The documentation for this class was generated from the following file: