libqutim  0.3.1.0
qutim_sdk_0_3::ServiceManager Class Reference

#include <servicemanager.h>

+ Inheritance diagram for qutim_sdk_0_3::ServiceManager:

Signals

void initedChanged (bool inited=true)
 
void serviceChanged (const QByteArray &name, QObject *newObject, QObject *oldObject)
 
void serviceChanged (QObject *newObject, QObject *oldObject)
 

Public Member Functions

template<typename T >
Q_INLINE_TEMPLATE
ServicePointerData::Ptr 
getData ()
 
template<typename T >
Q_INLINE_TEMPLATE
ServicePointerData::Ptr 
getDataHelper (QObject *)
 
template<typename T >
Q_INLINE_TEMPLATE
ServicePointerData::Ptr 
getDataHelper (void *)
 

Static Public Member Functions

static QObject * getByName (const QByteArray &name)
 
template<typename T >
static T getByName (const QByteArray &name)
 
static ServiceManagerinstance ()
 
static bool isInited ()
 
static ExtensionInfoList listImplementations (const QByteArray &name)
 
static QList< QByteArray > names ()
 
static bool setImplementation (const QByteArray &name, const ExtensionInfo &info)
 

Properties

bool inited
 

Friends

template<typename T >
class ServicePointer
 

Member Function Documentation

static QObject* qutim_sdk_0_3::ServiceManager::getByName ( const QByteArray &  name)
static
template<typename T >
static T qutim_sdk_0_3::ServiceManager::getByName ( const QByteArray &  name)
inlinestatic
template<typename T >
Q_INLINE_TEMPLATE ServicePointerData::Ptr qutim_sdk_0_3::ServiceManager::getData ( )
template<typename T >
Q_INLINE_TEMPLATE ServicePointerData::Ptr qutim_sdk_0_3::ServiceManager::getDataHelper ( QObject *  )
template<typename T >
Q_INLINE_TEMPLATE ServicePointerData::Ptr qutim_sdk_0_3::ServiceManager::getDataHelper ( void *  )
void qutim_sdk_0_3::ServiceManager::initedChanged ( bool  inited = true)
signal
static ServiceManager* qutim_sdk_0_3::ServiceManager::instance ( )
static
static bool qutim_sdk_0_3::ServiceManager::isInited ( )
static
static ExtensionInfoList qutim_sdk_0_3::ServiceManager::listImplementations ( const QByteArray &  name)
static

List info about all implementations of service with.

Parameters
name
static QList<QByteArray> qutim_sdk_0_3::ServiceManager::names ( )
static
void qutim_sdk_0_3::ServiceManager::serviceChanged ( const QByteArray &  name,
QObject *  newObject,
QObject *  oldObject 
)
signal

Notify a change of service.

void qutim_sdk_0_3::ServiceManager::serviceChanged ( QObject *  newObject,
QObject *  oldObject 
)
signal
static bool qutim_sdk_0_3::ServiceManager::setImplementation ( const QByteArray &  name,
const ExtensionInfo info 
)
static

Set an implementation with.

Parameters
infofor service with
name.When
infois empty, service is turned off. Returns true, if the service has been successfully switched. Otherwise, return false.

Friends And Related Function Documentation

template<typename T >
friend class ServicePointer
friend

Property Documentation

bool qutim_sdk_0_3::ServiceManager::inited
read

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

Generated by Doxygen