Home · Modules · All Classes · All Namespaces
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Tp::BaseChannelCaptchaAuthenticationInterface Class Reference

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

#include <TelepathyQt/BaseChannel>

Inherits Tp::AbstractChannelInterface.

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)
 
- Public Member Functions inherited from Tp::AbstractChannelInterface
 AbstractChannelInterface (const QString &interfaceName)
 
virtual ~AbstractChannelInterface ()
 
- Public Member Functions inherited from Tp::AbstractDBusServiceInterface
 AbstractDBusServiceInterface (const QString &interfaceName)
 
virtual ~AbstractDBusServiceInterface ()
 
QString interfaceName () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
bool notifyPropertyChanged (const QString &propertyName, const QVariant &propertyValue)
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Static Public Member Functions

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

Additional Inherited Members

- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 
- Protected Member Functions inherited from Tp::AbstractChannelInterface
virtual void close ()
 
virtual void setBaseChannel (BaseChannel *channel)
 
- Protected Member Functions inherited from Tp::AbstractDBusServiceInterface
virtual bool registerInterface (DBusObject *dbusObject)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Detailed Description

Base class for implementations of Channel.Interface.CaptchaAuthentication.

Member Typedef Documentation

◆ GetCaptchasCallback

◆ GetCaptchaDataCallback

◆ AnswerCaptchasCallback

◆ CancelCaptchaCallback

Constructor & Destructor Documentation

◆ ~BaseChannelCaptchaAuthenticationInterface()

Tp::BaseChannelCaptchaAuthenticationInterface::~BaseChannelCaptchaAuthenticationInterface ( )
virtual

Class destructor.

Member Function Documentation

◆ create() [1/2]

static BaseChannelCaptchaAuthenticationInterfacePtr Tp::BaseChannelCaptchaAuthenticationInterface::create ( bool  canRetryCaptcha)
inlinestatic

◆ create() [2/2]

template<typename BaseChannelCaptchaAuthenticationInterfaceSubclass >
static SharedPtr<BaseChannelCaptchaAuthenticationInterfaceSubclass> Tp::BaseChannelCaptchaAuthenticationInterface::create ( bool  canRetryCaptcha)
inlinestatic

◆ immutableProperties()

QVariantMap Tp::BaseChannelCaptchaAuthenticationInterface::immutableProperties ( ) const
virtual

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.

Reimplemented from Tp::AbstractDBusServiceInterface.

◆ setGetCaptchasCallback()

void Tp::BaseChannelCaptchaAuthenticationInterface::setGetCaptchasCallback ( const GetCaptchasCallback cb)

◆ setGetCaptchaDataCallback()

void Tp::BaseChannelCaptchaAuthenticationInterface::setGetCaptchaDataCallback ( const GetCaptchaDataCallback cb)

◆ setAnswerCaptchasCallback()

void Tp::BaseChannelCaptchaAuthenticationInterface::setAnswerCaptchasCallback ( const AnswerCaptchasCallback cb)

◆ setCancelCaptchaCallback()

void Tp::BaseChannelCaptchaAuthenticationInterface::setCancelCaptchaCallback ( const CancelCaptchaCallback cb)

◆ setCaptchaStatus()

void Tp::BaseChannelCaptchaAuthenticationInterface::setCaptchaStatus ( uint  status)

◆ setCaptchaError()

void Tp::BaseChannelCaptchaAuthenticationInterface::setCaptchaError ( const QString &  busName)

◆ setCaptchaErrorDetails()

void Tp::BaseChannelCaptchaAuthenticationInterface::setCaptchaErrorDetails ( const QVariantMap &  error)