10#include "QXmppCallStream.h"
11#include "QXmppClientExtension.h"
12#include "QXmppLogger.h"
18class QXmppCallPrivate;
20class QXmppCallManagerPrivate;
26 Q_PROPERTY(
Direction direction READ direction CONSTANT)
28 Q_PROPERTY(QString jid READ jid CONSTANT)
30 Q_PROPERTY(
State state READ state NOTIFY stateChanged)
44 DisconnectingState = 2,
56 GstElement *pipeline()
const;
60 bool isEncrypted()
const;
86 Q_SLOT
void addVideo();
94 const std::unique_ptr<QXmppCallPrivate> d;
96 friend class QXmppCallManagerPrivate;
97 friend class QXmppCallPrivate;
The QXmppCallManager class provides support for making and receiving voice calls.
Definition QXmppCallManager.h:27
Definition QXmppCallStream.h:22
Definition QXmppCall.h:23
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:34
@ IncomingDirection
The call is incoming.
Definition QXmppCall.h:35
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:41
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:110