Home · All Classes · All Namespaces · Modules · Functions · Files |
The ReadinessHelper class is a helper class used by the introspection process. More...
#include <TelepathyQt4/ReadinessHelper>
Inherits QObject.
The ReadinessHelper class is a helper class used by the introspection process.
typedef void(* Tp::ReadinessHelper::IntrospectFunc)(void *data) |
Tp::ReadinessHelper::ReadinessHelper | ( | RefCounted * | object, |
uint | currentStatus = 0 , |
||
const Introspectables & | introspectables = Introspectables() , |
||
QObject * | parent = 0 |
||
) |
Tp::ReadinessHelper::ReadinessHelper | ( | DBusProxy * | proxy, |
uint | currentStatus = 0 , |
||
const Introspectables & | introspectables = Introspectables() , |
||
QObject * | parent = 0 |
||
) |
Tp::ReadinessHelper::~ReadinessHelper | ( | ) |
void Tp::ReadinessHelper::addIntrospectables | ( | const Introspectables & | introspectables | ) |
uint Tp::ReadinessHelper::currentStatus | ( | ) | const |
void Tp::ReadinessHelper::setCurrentStatus | ( | uint | currentStatus | ) |
void Tp::ReadinessHelper::forceCurrentStatus | ( | uint | currentStatus | ) |
Force the current internal status to currentStatus.
Note that this method will not start a new introspection or restart the current one in case one is running.
This is useful for example when the status is unknown initially but it will become known in the first introspection run and there is no need to re-run the introspection.
currentStatus | The status to set. |
QStringList Tp::ReadinessHelper::interfaces | ( | ) | const |
void Tp::ReadinessHelper::setInterfaces | ( | const QStringList & | interfaces | ) |
Features Tp::ReadinessHelper::requestedFeatures | ( | ) | const |
Features Tp::ReadinessHelper::actualFeatures | ( | ) | const |
Features Tp::ReadinessHelper::missingFeatures | ( | ) | const |
bool Tp::ReadinessHelper::isReady | ( | const Feature & | feature, |
QString * | errorName = 0 , |
||
QString * | errorMessage = 0 |
||
) | const |
bool Tp::ReadinessHelper::isReady | ( | const Features & | features, |
QString * | errorName = 0 , |
||
QString * | errorMessage = 0 |
||
) | const |
PendingReady * Tp::ReadinessHelper::becomeReady | ( | const Features & | requestedFeatures | ) |
void Tp::ReadinessHelper::setIntrospectCompleted | ( | const Feature & | feature, |
bool | success, | ||
const QString & | errorName = QString() , |
||
const QString & | errorMessage = QString() |
||
) |
void Tp::ReadinessHelper::setIntrospectCompleted | ( | const Feature & | feature, |
bool | success, | ||
const QDBusError & | error | ||
) |
void Tp::ReadinessHelper::statusReady | ( | uint | status | ) | [signal] |
Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation | Telepathy-Qt4 0.8.0 |