|
QXmpp Version: 1.11.3
|
The QXmppCallInvite class holds information about the Call Invite element in the current context. More...
Inherits QObject.
Public Types | |
| using | Result = std::variant< Rejected, Retracted, Left, QXmppError > |
Public Member Functions | |
| QXmppCallInvite (QXmppCallInviteManager *manager) | |
| Constructs a Call Invite object. | |
| QXmppTask< QXmpp::SendResult > | accept () |
| QXmppTask< QXmpp::SendResult > | reject () |
| QXmppTask< QXmpp::SendResult > | retract () |
| QXmppTask< QXmpp::SendResult > | leave () |
| Q_SIGNAL void | invited () |
| Q_SIGNAL void | accepted (const QString &id, const QString &callPartnerResource) |
| Q_SIGNAL void | closed (const QXmppCallInvite::Result &result) |
Friends | |
| class | QXmppCallInviteManager |
| class | tst_QXmppCallInviteManager |
The QXmppCallInvite class holds information about the Call Invite element in the current context.
Contains one of the result types Rejected, Retracted, Left or QXmppError used for Call Invite states.
| QXmppTask< SendResult > QXmppCallInvite::accept | ( | ) |
Creates a Call Invite element of type "accept" and sends a request containing the element.
| QXmppCallInvite::accepted | ( | const QString & | id, |
| const QString & | callPartnerResource | ||
| ) |
Emitted when a call was accepted.
| QXmppCallInvite::closed | ( | const QXmppCallInvite::Result & | result | ) |
Emitted when a call was closed.
| result | close reason |
| QXmppCallInvite::invited | ( | ) |
Emitted when a call invitation was sent.
| QXmppTask< SendResult > QXmppCallInvite::leave | ( | ) |
Creates a Call Invite element of type "leave" and sends a request containing the element.
| QXmppTask< SendResult > QXmppCallInvite::reject | ( | ) |
Creates a Call Invite element of type "reject" and sends a request containing the element.
| QXmppTask< SendResult > QXmppCallInvite::retract | ( | ) |
Creates a Call Invite element of type "retract" and sends a request containing the element.