libqutim  0.3.1.0
qutim_sdk_0_3::ChatLayer Class Referenceabstract

#include <chatsession.h>

+ Inheritance diagram for qutim_sdk_0_3::ChatLayer:

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 *)
 
ChatSessiongetSession (Account *acc, QObject *obj, bool create=true)
 
ChatSessiongetSession (QObject *obj, bool create=true)
 
ChatSessiongetSession (Account *acc, const QString &id, bool create=true)
 
virtual ChatSessiongetSession (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 ChatSessionget (ChatUnit *unit, bool create=true)
 
static ChatLayerinstance ()
 

Protected Member Functions

 ChatLayer ()
 
virtual ~ChatLayer ()
 
ChatUnitgetUnitForSession (ChatUnit *unit) const
 
virtual void virtual_hook (int id, void *data)
 

Properties

bool alertStatus
 

Constructor & Destructor Documentation

qutim_sdk_0_3::ChatLayer::ChatLayer ( )
protected
virtual qutim_sdk_0_3::ChatLayer::~ChatLayer ( )
protectedvirtual

Member Function Documentation

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 
)
protectedvirtual

Property Documentation

bool qutim_sdk_0_3::ChatLayer::alertStatus
readwrite

The documentation for this class was generated from the following file:

Generated by Doxygen