libqutim
0.3.1.0
|
#include <servicemanager.h>
Signals | |
void | initedChanged (bool inited=true) |
void | serviceChanged (const QByteArray &name, QObject *newObject, QObject *oldObject) |
void | serviceChanged (QObject *newObject, QObject *oldObject) |
Static Public Member Functions | |
static QObject * | getByName (const QByteArray &name) |
template<typename T > | |
static T | getByName (const QByteArray &name) |
static ServiceManager * | instance () |
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 | |
class | ServicePointer |
static QObject* qutim_sdk_0_3::ServiceManager::getByName | ( | const QByteArray & | name | ) | [static] |
static T qutim_sdk_0_3::ServiceManager::getByName | ( | const QByteArray & | name | ) | [inline, static] |
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.
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.
info | for service with |
name. | When |
info | is empty, service is turned off. Returns true, if the service has been successfully switched. Otherwise, return false. |
friend class ServicePointer [friend] |
bool qutim_sdk_0_3::ServiceManager::inited [read] |