23 #ifndef _TelepathyQt_pending_captcha_h_HEADER_GUARD_
24 #define _TelepathyQt_pending_captcha_h_HEADER_GUARD_
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
30 #include <TelepathyQt/PendingOperation>
32 #include <TelepathyQt/CaptchaAuthentication>
50 QList<Captcha> captchaList()
const;
51 bool requiresMultipleCaptchas()
const;
54 TP_QT_NO_EXPORT
void onChannelInvalidated(
Tp::DBusProxy *proxy,
55 const QString &errorName,
const QString &errorMessage);
56 TP_QT_NO_EXPORT
void onGetCaptchasWatcherFinished(QDBusPendingCallWatcher *watcher);
57 TP_QT_NO_EXPORT
void onGetCaptchaDataWatcherFinished(QDBusPendingCallWatcher *watcher);
61 const QStringList &preferredMimeTypes,
62 CaptchaAuthentication::ChallengeTypes preferredTypes,
63 const CaptchaAuthenticationPtr &channel);
64 TP_QT_NO_EXPORT PendingCaptchas(
65 const QString &errorName,
const QString &errorMessage,
66 const CaptchaAuthenticationPtr &channel);
70 friend struct Private;
76 #endif // TP_PENDING_CAPTCHA_H
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
The PendingCaptchas class represents an asynchronous operation for retrieving a captcha challenge fro...
Definition: pending-captchas.h:41
The Captcha class represents a Captcha ready to be answered.
Definition: captcha.h:37
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
The CaptchaAuthentication class exposes CaptchaAuthentication's features for channels implementing it...
Definition: captcha-authentication.h:43