diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-07-21 09:04:43 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-07-21 09:04:43 +0000 |
| commit | 2e80cec6c37d03d6783bde76fd27f5f2c50d9538 (patch) | |
| tree | edebcaa34644bedb769119d10ebee04f144c700c /source/QXmppCallManager.h | |
| parent | b51a31c74dca7aae2f46d35353972946021518cd (diff) | |
| download | qxmpp-2e80cec6c37d03d6783bde76fd27f5f2c50d9538.tar.gz | |
simplify state changes
Diffstat (limited to 'source/QXmppCallManager.h')
| -rw-r--r-- | source/QXmppCallManager.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/source/QXmppCallManager.h b/source/QXmppCallManager.h index 7885b908..78b8d52d 100644 --- a/source/QXmppCallManager.h +++ b/source/QXmppCallManager.h @@ -88,14 +88,11 @@ signals: /// This signal is emitted to send logging messages. void logMessage(QXmppLogger::MessageType type, const QString &msg); - /// This signal is emitted when the call state. - void stateChanged(QXmppCall::State state); - - /// This signal is emitted when the read/write mode changes. + /// This signal is emitted when the call state changes. /// - /// You can connect to this signal to know when you can bind a - /// QAudioInput and/or QAudioOutput to the call. - void openModeChanged(QIODevice::OpenMode); + /// Once the state is QXmppCall::ActiveState, you can connect + /// a QAudioOutput and QAudioInput to the call. + void stateChanged(QXmppCall::State state); public slots: void accept(); @@ -141,7 +138,6 @@ private: qint64 m_writtenSinceLastEmit; // RTP - bool m_buffered; QXmppCodec *m_codec; QByteArray m_incomingBuffer; |
