ModemManager::ModemVoice
#include <modemvoice.h>
Public Types | |
typedef QList< Ptr > | List |
typedef QSharedPointer< ModemVoice > | Ptr |
Signals | |
void | callAdded (const QString &uni) |
void | callDeleted (const QString &uni) |
Public Member Functions | |
ModemVoice (const QString &path, QObject *parent=nullptr) | |
ModemManager::Call::List | calls () const |
QDBusPendingReply< QDBusObjectPath > | createCall (const QString &number) |
QDBusPendingReply< QDBusObjectPath > | createCall (const QVariantMap &call) |
QDBusPendingReply< void > | deleteCall (const QString &uni) |
ModemManager::Call::Ptr | findCall (const QString &uni) |
void | setTimeout (int timeout) |
int | timeout () const |
Detailed Description
The ModemVoice class.
The Voice interface handles call related actions
Definition at line 28 of file modemvoice.h.
Member Typedef Documentation
◆ List
Definition at line 35 of file modemvoice.h.
◆ Ptr
Definition at line 34 of file modemvoice.h.
Constructor & Destructor Documentation
◆ ModemVoice()
Definition at line 34 of file modemvoice.cpp.
◆ ~ModemVoice()
|
override |
Definition at line 50 of file modemvoice.cpp.
Member Function Documentation
◆ callAdded
|
signal |
◆ callDeleted
|
signal |
Emitted when a call has been deleted.
- Parameters
-
uni path to the Call object
◆ calls()
ModemManager::Call::List ModemManager::ModemVoice::calls | ( | ) | const |
Retrieve all calls.
This method should only be used once and subsequent information retrieved either by listening for the callAdded() signal, or by querying the specific call object of interest using findCall()
Definition at line 99 of file modemvoice.cpp.
◆ createCall() [1/2]
QDBusPendingReply< QDBusObjectPath > ModemManager::ModemVoice::createCall | ( | const QString & | number | ) |
Creates a new call object.
- Parameters
-
number Number property
Definition at line 105 of file modemvoice.cpp.
◆ createCall() [2/2]
QDBusPendingReply< QDBusObjectPath > ModemManager::ModemVoice::createCall | ( | const QVariantMap & | call | ) |
Creates a new call object.
- Parameters
-
call QVariantMap containing call properties The 'number' property is mandatory.
Definition at line 112 of file modemvoice.cpp.
◆ deleteCall()
QDBusPendingReply< void > ModemManager::ModemVoice::deleteCall | ( | const QString & | uni | ) |
◆ findCall()
ModemManager::Call::Ptr ModemManager::ModemVoice::findCall | ( | const QString & | uni | ) |
- Parameters
-
uni path to the Call object
- Returns
- pointer to the found Call (may be null if not found)
Definition at line 130 of file modemvoice.cpp.
◆ setTimeout()
void ModemManager::ModemVoice::setTimeout | ( | int | timeout | ) |
Sets the timeout in milliseconds for all async method DBus calls.
-1 means the default DBus timeout (usually 25 seconds).
Definition at line 136 of file modemvoice.cpp.
◆ timeout()
int ModemManager::ModemVoice::timeout | ( | ) | const |
Returns the current value of the DBus timeout in milliseconds.
-1 means the default DBus timeout (usually 25 seconds).
Definition at line 142 of file modemvoice.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:07:54 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.