10#include "QXmppCallStream.h"
11#include "QXmppClientExtension.h"
12#include "QXmppLogger.h"
18class QXmppCallPrivate;
20class QXmppCallManagerPrivate;
27 Q_PROPERTY(
Direction direction READ direction CONSTANT)
29 Q_PROPERTY(QString jid READ jid CONSTANT)
31 Q_PROPERTY(
State state READ state NOTIFY stateChanged)
45 DisconnectingState = 2,
56 std::optional<QXmppError> error()
const;
58 GstElement *pipeline()
const;
62 bool isEncrypted()
const;
63 bool videoSupported()
const;
92 const std::unique_ptr<QXmppCallPrivate> d;
94 friend class QXmppCallManagerPrivate;
95 friend class QXmppCallPrivate;
The QXmppCallManager class provides support for making and receiving voice calls.
Definition QXmppCallManager.h:25
Definition QXmppCallStream.h:22
Definition QXmppCall.h:24
Q_SIGNAL void ringing()
This signal is emitted when the remote party is ringing.
Direction
This enum is used to describe the direction of a call.
Definition QXmppCall.h:35
@ IncomingDirection
The call is incoming.
Definition QXmppCall.h:36
Q_SIGNAL void streamCreated(QXmppCallStream *stream)
This signal is emitted when a stream is created.
Q_SIGNAL void finished()
This signal is emitted when a call is finished.
State
This enum is used to describe the state of a call.
Definition QXmppCall.h:42
Q_SIGNAL void connected()
This signal is emitted when a call is connected.
Q_SIGNAL void stateChanged(QXmppCall::State state)
This signal is emitted when the call state changes.
The QXmppLoggable class represents a source of logging messages.
Definition QXmppLogger.h:109
Definition QXmppError.h:17