23 #ifndef _TelepathyQt_captcha_authentication_h_HEADER_GUARD_    24 #define _TelepathyQt_captcha_authentication_h_HEADER_GUARD_    26 #ifndef IN_TP_QT_HEADER    27 #error IN_TP_QT_HEADER    30 #include <TelepathyQt/Channel>    31 #include <TelepathyQt/Connection>    33 #include <TelepathyQt/Global>    34 #include <TelepathyQt/SharedPtr>    39 class PendingCaptchaAnswer;
    40 class PendingCaptchaCancel;
    41 class PendingCaptchas;
    52         AudioRecognitionChallenge = 2,
    53         PictureQuestionChallenge = 4,
    54         PictureRecognitionChallenge = 8,
    55         TextQuestionChallenge = 16,
    56         SpeechQuestionChallenge = 32,
    57         SpeechRecognitionChallenge = 64,
    58         VideoQuestionChallenge = 128,
    59         VideoRecognitionChallenge = 256,
    60         UnknownChallenge = 32768
    66     ChannelPtr channel() const;
    68     bool canRetry() const;
    71     QString error() const;
    74     Tp::
PendingCaptchas *requestCaptchas(const QStringList &preferredMimeTypes = QStringList(),
    75             ChallengeTypes preferredTypes = ~ChallengeTypes(NoChallenge));
    84             const QString &message = QString());
    87     TP_QT_NO_EXPORT 
void onPropertiesChanged(const QVariantMap &changedProperties,
    88             const QStringList &invalidatedProperties);
    91     TP_QT_NO_EXPORT CaptchaAuthentication(const ChannelPtr &parent);
    96     friend struct Private;
   102 Q_DECLARE_OPERATORS_FOR_FLAGS(
Tp::CaptchaAuthentication::ChallengeTypes)
 The PendingOperation class is a base class for pending asynchronous operations. 
Definition: pending-operation.h:45
CaptchaCancelReason
Definition: build/TelepathyQt/_gen/constants.h:2985
CaptchaStatus
Definition: build/TelepathyQt/_gen/constants.h:3025
The ServerAuthenticationChannel class is a base class for all ServerAuthentication types...
Definition: server-authentication-channel.h:35
The PendingCaptchas class represents an asynchronous operation for retrieving a captcha challenge fro...
Definition: pending-captchas.h:41
The CaptchaAuthentication class exposes CaptchaAuthentication's features for channels implementing it...
Definition: captcha-authentication.h:43
ChallengeType
Definition: captcha-authentication.h:49
The Connection class represents a Telepathy connection. 
Definition: connection.h:61
Definition: build/TelepathyQt/_gen/types.h:577
Definition: abstract-adaptor.cpp:31
The Object class provides an object with property notification. 
Definition: object.h:39