libqutim
0.3.2.0
|
#include <chatsession.h>
Signals | |
void | alertStatusChanged (bool) |
void | sessionCreated (qutim_sdk_0_3::ChatSession *session) |
Public Member Functions | |
void | alert (bool on) |
void | alert (int msecs) |
bool | event (QEvent *) |
ChatSession * | getSession (Account *acc, QObject *obj, bool create=true) |
ChatSession * | getSession (QObject *obj, bool create=true) |
ChatSession * | getSession (Account *acc, const QString &id, bool create=true) |
virtual ChatSession * | getSession (ChatUnit *unit, bool create=true)=0 |
bool | isAlerted () const |
Q_INVOKABLE qutim_sdk_0_3::ChatSession * | session (QObject *obj, bool create=true) |
virtual Q_INVOKABLE QList < qutim_sdk_0_3::ChatSession * > | sessions ()=0 |
Static Public Member Functions | |
static ChatSession * | get (ChatUnit *unit, bool create=true) |
static ChatLayer * | instance () |
Protected Member Functions | |
ChatLayer () | |
virtual | ~ChatLayer () |
ChatUnit * | getUnitForSession (ChatUnit *unit) const |
virtual void | virtual_hook (int id, void *data) |
Properties | |
bool | alertStatus |
qutim_sdk_0_3::ChatLayer::ChatLayer | ( | ) | [protected] |
virtual qutim_sdk_0_3::ChatLayer::~ChatLayer | ( | ) | [protected, virtual] |
void qutim_sdk_0_3::ChatLayer::alert | ( | bool | on | ) |
void qutim_sdk_0_3::ChatLayer::alert | ( | int | msecs | ) |
void qutim_sdk_0_3::ChatLayer::alertStatusChanged | ( | bool | ) | [signal] |
bool qutim_sdk_0_3::ChatLayer::event | ( | QEvent * | ) |
static ChatSession* qutim_sdk_0_3::ChatLayer::get | ( | ChatUnit * | unit, |
bool | create = true |
||
) | [static] |
ChatSession* qutim_sdk_0_3::ChatLayer::getSession | ( | Account * | acc, |
QObject * | obj, | ||
bool | create = true |
||
) |
ChatSession* qutim_sdk_0_3::ChatLayer::getSession | ( | QObject * | obj, |
bool | create = true |
||
) |
ChatSession* qutim_sdk_0_3::ChatLayer::getSession | ( | Account * | acc, |
const QString & | id, | ||
bool | create = true |
||
) |
virtual ChatSession* qutim_sdk_0_3::ChatLayer::getSession | ( | ChatUnit * | unit, |
bool | create = true |
||
) | [pure virtual] |
ChatUnit* qutim_sdk_0_3::ChatLayer::getUnitForSession | ( | ChatUnit * | unit | ) | const [protected] |
static ChatLayer* qutim_sdk_0_3::ChatLayer::instance | ( | ) | [static] |
bool qutim_sdk_0_3::ChatLayer::isAlerted | ( | ) | const |
ChatSession * qutim_sdk_0_3::ChatLayer::session | ( | QObject * | obj, |
bool | create = true |
||
) | [inline] |
void qutim_sdk_0_3::ChatLayer::sessionCreated | ( | qutim_sdk_0_3::ChatSession * | session | ) | [signal] |
virtual Q_INVOKABLE QList<qutim_sdk_0_3::ChatSession*> qutim_sdk_0_3::ChatLayer::sessions | ( | ) | [pure virtual] |
virtual void qutim_sdk_0_3::ChatLayer::virtual_hook | ( | int | id, |
void * | data | ||
) | [protected, virtual] |
bool qutim_sdk_0_3::ChatLayer::alertStatus [read, write] |