Home · All Classes · All Namespaces · Modules · Functions · Files |
The Captcha class represents a Captcha ready to be answered. More...
#include <TelepathyQt/Captcha>
The Captcha class represents a Captcha ready to be answered.
It exposes all the parameters needed for a handler to present the user with a captcha.
Please note this class is meant to be read-only. It is usually created by PendingCaptchas once a Captcha request operation succeeds.
Please note that this class is implicitly shared.
Default constructor.
Tp::Captcha::Captcha | ( | const Captcha & | other | ) |
Copy constructor.
Class destructor.
bool Tp::Captcha::isValid | ( | ) | const [inline] |
QString Tp::Captcha::mimeType | ( | ) | const |
QString Tp::Captcha::label | ( | ) | const |
Return the label of the captcha. For some captcha types, such as CaptchaAuthentication::TextQuestionChallenge, the label is also the challenge the user has to answer
QByteArray Tp::Captcha::data | ( | ) | const |
Return the raw data of the captcha. The handler can check its type and metatype to know how to parse the blob.
uint Tp::Captcha::id | ( | ) | const |
Return the id of the captcha. This parameter should be used to identify the captcha when answering its challenge.
Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation | Telepathy-Qt 0.9.3 |