8 #ifndef IN_TP_QT_HEADER
12 #include <TelepathyQt/Types>
20 #include <QDBusPendingReply>
22 #include <TelepathyQt/AbstractInterface>
23 #include <TelepathyQt/DBusProxy>
24 #include <TelepathyQt/Global>
29 class PendingOperation;
57 return QLatin1String(
"org.freedesktop.Telepathy.Call1.Stream.Endpoint");
110 return internalRequestProperty(
QLatin1String(
"RemoteCredentials"));
124 return internalRequestProperty(
QLatin1String(
"RemoteCandidates"));
159 return internalRequestProperty(
QLatin1String(
"SelectedCandidatePairs"));
174 return internalRequestProperty(
QLatin1String(
"EndpointState"));
215 return internalRequestProperty(
QLatin1String(
"Controlling"));
241 return internalRequestAllProperties();
280 if (!invalidationReason().isEmpty()) {
282 invalidationReason(),
283 invalidationMessage()
288 this->staticInterfaceName(),
QLatin1String(
"SetSelectedCandidatePair"));
290 return this->connection().asyncCall(callMessage, timeout);
313 if (!invalidationReason().isEmpty()) {
315 invalidationReason(),
316 invalidationMessage()
321 this->staticInterfaceName(),
QLatin1String(
"SetEndpointState"));
323 return this->connection().asyncCall(callMessage, timeout);
347 if (!invalidationReason().isEmpty()) {
349 invalidationReason(),
350 invalidationMessage()
355 this->staticInterfaceName(),
QLatin1String(
"AcceptSelectedCandidatePair"));
357 return this->connection().asyncCall(callMessage, timeout);
381 if (!invalidationReason().isEmpty()) {
383 invalidationReason(),
384 invalidationMessage()
389 this->staticInterfaceName(),
QLatin1String(
"RejectSelectedCandidatePair"));
391 return this->connection().asyncCall(callMessage, timeout);
413 if (!invalidationReason().isEmpty()) {
415 invalidationReason(),
416 invalidationMessage()
421 this->staticInterfaceName(),
QLatin1String(
"SetControlling"));
423 return this->connection().asyncCall(callMessage, timeout);
442 void RemoteCredentialsSet(
const QString& username,
const QString& password);
488 void EndpointStateChanged(uint component, uint state);
499 void ControllingChanged(
bool controlling);
Tp::PendingVariant * requestPropertyControlling() const
Definition: cli-call-stream-endpoint.h:213
Definition: cli-call-stream-endpoint.h:44
QDBusPendingReply RejectSelectedCandidatePair(const Tp::Candidate &localCandidate, const Tp::Candidate &remoteCandidate, int timeout=-1)
Definition: cli-call-stream-endpoint.h:379
Tp::PendingVariant * requestPropertySelectedCandidatePairs() const
Definition: cli-call-stream-endpoint.h:157
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/types.h:379
Definition: abstract-adaptor.cpp:31
QDBusPendingReply SetEndpointState(uint component, uint state, int timeout=-1)
Definition: cli-call-stream-endpoint.h:311
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
QDBusPendingReply SetSelectedCandidatePair(const Tp::Candidate &localCandidate, const Tp::Candidate &remoteCandidate, int timeout=-1)
Definition: cli-call-stream-endpoint.h:278
Tp::PendingVariant * requestPropertyTransport() const
Definition: cli-call-stream-endpoint.h:188
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-call-stream-endpoint.h:239
Tp::PendingVariant * requestPropertyRemoteCredentials() const
Definition: cli-call-stream-endpoint.h:108
Tp::PendingVariant * requestPropertyRemoteCandidates() const
Definition: cli-call-stream-endpoint.h:122
QDBusPendingReply AcceptSelectedCandidatePair(const Tp::Candidate &localCandidate, const Tp::Candidate &remoteCandidate, int timeout=-1)
Definition: cli-call-stream-endpoint.h:345
QDBusPendingReply SetControlling(bool controlling, int timeout=-1)
Definition: cli-call-stream-endpoint.h:411
QVariant fromValue(const T &value)
The PendingVariantMap class is a generic subclass of PendingOperation representing a pending D-Bus me...
Definition: pending-variant-map.h:38
The AbstractInterface class is the base class for all client side D-Bus interfaces, allowing access to remote methods/properties/signals.
Definition: abstract-interface.h:42
Tp::PendingVariant * requestPropertyIsICELite() const
Definition: cli-call-stream-endpoint.h:228
static QLatin1String staticInterfaceName()
Definition: cli-call-stream-endpoint.h:55
QDBusMessage createError(const QString &name, const QString &msg)
The PendingVariant class is a generic subclass of PendingOperation representing a pending D-Bus metho...
Definition: pending-variant.h:38
Tp::PendingVariant * requestPropertyEndpointState() const
Definition: cli-call-stream-endpoint.h:172
QDBusMessage createMethodCall(const QString &service, const QString &path, const QString &interface, const QString &method)