QTelephonyTones Class Reference
|
Constant | Value | Description |
---|---|---|
QTelephonyTones::Dtmf0 | 0 | Tone for DTMF digit 0 |
QTelephonyTones::Dtmf1 | 1 | Tone for DTMF digit 1 |
QTelephonyTones::Dtmf2 | 2 | Tone for DTMF digit 2 |
QTelephonyTones::Dtmf3 | 3 | Tone for DTMF digit 3 |
QTelephonyTones::Dtmf4 | 4 | Tone for DTMF digit 4 |
QTelephonyTones::Dtmf5 | 5 | Tone for DTMF digit 5 |
QTelephonyTones::Dtmf6 | 6 | Tone for DTMF digit 6 |
QTelephonyTones::Dtmf7 | 7 | Tone for DTMF digit 7 |
QTelephonyTones::Dtmf8 | 8 | Tone for DTMF digit 8 |
QTelephonyTones::Dtmf9 | 9 | Tone for DTMF digit 9 |
QTelephonyTones::DtmfStar | 10 | Tone for DTMF digit * |
QTelephonyTones::DtmfHash | 11 | Tone for DTMF digit # |
QTelephonyTones::DtmfA | 12 | Tone for DTMF digit A |
QTelephonyTones::DtmfB | 13 | Tone for DTMF digit B |
QTelephonyTones::DtmfC | 14 | Tone for DTMF digit C |
QTelephonyTones::DtmfD | 15 | Tone for DTMF digit D |
QTelephonyTones::Busy | 16 | Busy signal when the other party cannot be reached |
QTelephonyTones::Dial | 17 | Dial tone |
QTelephonyTones::Dial2 | 18 | Secondary dial tone, for outside lines |
QTelephonyTones::Alerting | 19 | Tone indicating that the called party is alerting (ringing). |
QTelephonyTones::CallWaiting | 20 | Tone indicating that there is another call waiting. |
QTelephonyTones::MessageWaiting | 21 | Tone indicating that this is a message waiting. |
QTelephonyTones::NoService | 22 | Tone indicating that there is no network service. This may be played instead of Dial to audibly indicate to the user that the current call attempt will probably not succeed. The tone provider could choose to play no tone at all for this case. |
QTelephonyTones::User | 100 | First user-defined tone. |
Construct a new tone generation object for service and attach it to parent. The object will be created in client mode if mode is Client, or server mode otherwise.
If service is empty, this class will use the first available service that supports tone generation. If there is more than one service that supports tone generation, the caller should enumerate them with QCommServiceManager::supports() and create separate QTelephonyTones objects for each.
See also QCommServiceManager::supports().
Destroys this tone generation object.
Starts playing tone and returns an identifier for it. If duration is -1, the tone should play indefinitely until stopTone() is called. If duration is not -1, it indicates the number of milliseconds to play the tone before automatically stopping.
DTMF tones during a call should be played with QPhoneCall::tone() rather than this function so that the DTMF information can be properly transmitted to the remote party. DTMF tones should only be played with this function when they occur outside a call during the dialing step.
See also stopTone(), toneStopped(), and QPhoneCall::tone().
This is an overloaded member function, provided for convenience.
Starts playing tone and associates it with id. If duration is -1, the tone should play indefinitely until stopTone() is called. If duration is not -1, it indicates the number of milliseconds to play the tone before automatically stopping.
DTMF tones during a call should be played with QPhoneCall::tone() rather than this function so that the DTMF information can be properly transmitted to the remote party. DTMF tones should only be played with this function when they occur outside a call during the dialing step.
See also stopTone(), toneStopped(), and QPhoneCall::tone().
Stops playing the tone associated with id.
See also startTone() and toneStopped().
Signal that is emitted when the tone associated with id stops playing.
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtextended4.4 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com