From 2e80cec6c37d03d6783bde76fd27f5f2c50d9538 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Wed, 21 Jul 2010 09:04:43 +0000 Subject: simplify state changes --- source/QXmppCallManager.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'source/QXmppCallManager.h') 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; -- cgit v1.2.3