Home
·
Modules
·
All Classes
·
All Namespaces
TelepathyQt
captcha.h
1
23
#ifndef _TelepathyQt_captcha_h_HEADER_GUARD_
24
#define _TelepathyQt_captcha_h_HEADER_GUARD_
25
26
#ifndef IN_TP_QT_HEADER
27
#error IN_TP_QT_HEADER
28
#endif
29
30
#include <TelepathyQt/CaptchaAuthentication>
31
32
namespace
Tp
33
{
34
35
class
PendingCaptchas;
36
37
class
TP_QT_EXPORT
Captcha
{
38
public
:
39
Captcha
();
40
Captcha
(
const
Captcha
&other);
41
~
Captcha
();
42
43
bool
isValid
()
const
{
return
mPriv.constData() != 0; }
44
45
Captcha
&operator=(
const
Captcha
&rhs);
46
47
QString mimeType()
const
;
48
QString label()
const
;
49
QByteArray data()
const
;
50
CaptchaAuthentication::ChallengeType
type()
const
;
51
uint id()
const
;
52
53
private
:
54
struct
Private;
55
friend
struct
Private;
56
friend
class
PendingCaptchas
;
57
58
Captcha
(
const
QString &mimeType,
const
QString &label,
const
QByteArray &data,
59
CaptchaAuthentication::ChallengeType
type, uint
id
);
60
61
QSharedDataPointer<Captcha::Private> mPriv;
62
};
63
64
}
65
66
#endif
Tp::CaptchaAuthentication::ChallengeType
ChallengeType
Definition:
captcha-authentication.h:49
Tp::PendingCaptchas
The PendingCaptchas class represents an asynchronous operation for retrieving a captcha challenge fro...
Definition:
pending-captchas.h:41
Tp
Definition:
abstract-adaptor.cpp:31
Tp::Captcha
The Captcha class represents a Captcha ready to be answered.
Definition:
captcha.h:37
Tp::Captcha::isValid
bool isValid() const
Definition:
captcha.h:43
TelepathyQt 0.9.8
Generated by
1.8.17