23 #ifndef _TelepathyQt_captcha_h_HEADER_GUARD_ 24 #define _TelepathyQt_captcha_h_HEADER_GUARD_ 26 #ifndef IN_TP_QT_HEADER 27 #error IN_TP_QT_HEADER 30 #include <TelepathyQt/CaptchaAuthentication> 35 class PendingCaptchas;
43 bool isValid()
const {
return mPriv.constData() != 0; }
47 QString mimeType()
const;
48 QString label()
const;
49 QByteArray data()
const;
55 friend struct Private;
58 Captcha(
const QString &mimeType,
const QString &label,
const QByteArray &data,
61 QSharedDataPointer<Captcha::Private> mPriv;
The Captcha class represents a Captcha ready to be answered.
Definition: captcha.h:37
bool isValid() const
Definition: captcha.h:43
The PendingCaptchas class represents an asynchronous operation for retrieving a captcha challenge fro...
Definition: pending-captchas.h:41
ChallengeType
Definition: captcha-authentication.h:49
Definition: abstract-adaptor.cpp:31