Home · All Classes · All Namespaces · Modules · Functions · Files
Public Types | Public Member Functions | Static Public Member Functions
Tp::BaseChannelCaptchaAuthenticationInterface Class Reference

Base class for implementations of Channel.Interface.CaptchaAuthentication. More...

#include <TelepathyQt/BaseChannel>

Inherits Tp::AbstractChannelInterface.

List of all members.

Public Types

typedef Callback4< void,
Tp::CaptchaInfoList &, uint
&, QString &, DBusError * > 
GetCaptchasCallback
typedef Callback3< QByteArray,
uint, const QString
&, DBusError * > 
GetCaptchaDataCallback
typedef Callback2< void, const
Tp::CaptchaAnswers
&, DBusError * > 
AnswerCaptchasCallback
typedef Callback3< void, uint,
const QString &, DBusError * > 
CancelCaptchaCallback

Public Member Functions

virtual ~BaseChannelCaptchaAuthenticationInterface ()
QVariantMap immutableProperties () const
void setGetCaptchasCallback (const GetCaptchasCallback &cb)
void setGetCaptchaDataCallback (const GetCaptchaDataCallback &cb)
void setAnswerCaptchasCallback (const AnswerCaptchasCallback &cb)
void setCancelCaptchaCallback (const CancelCaptchaCallback &cb)
void setCaptchaStatus (uint status)
void setCaptchaError (const QString &busName)
void setCaptchaErrorDetails (const QVariantMap &error)

Static Public Member Functions

static
BaseChannelCaptchaAuthenticationInterfacePtr 
create (bool canRetryCaptcha)
template<typename BaseChannelCaptchaAuthenticationInterfaceSubclass >
static SharedPtr
< BaseChannelCaptchaAuthenticationInterfaceSubclass > 
create (bool canRetryCaptcha)

Detailed Description

Base class for implementations of Channel.Interface.CaptchaAuthentication.


Member Typedef Documentation


Constructor & Destructor Documentation

Class destructor.


Member Function Documentation

static BaseChannelCaptchaAuthenticationInterfacePtr Tp::BaseChannelCaptchaAuthenticationInterface::create ( bool  canRetryCaptcha) [inline, static]
template<typename BaseChannelCaptchaAuthenticationInterfaceSubclass >
static SharedPtr<BaseChannelCaptchaAuthenticationInterfaceSubclass> Tp::BaseChannelCaptchaAuthenticationInterface::create ( bool  canRetryCaptcha) [inline, static]

Return the immutable properties of this interface.

Immutable properties cannot change after the interface has been registered on a service on the bus with registerInterface().

Returns:
The immutable properties of this interface.

Implements Tp::AbstractDBusServiceInterface.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7