Skip to content

PythonQt.Qt.QIODevice · declarations 001

Back to PythonQt.Qt.QIODevice

aboutToClose

aboutToClose(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QIODevice.aboutToClose; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QIODevice::aboutToClose()

This signal is emitted when the device is about to close. Connect this signal if you have operations that need to be performed before the device closes (e.g., if you have data in a separate buffer that needs to be written to the device).

Source: https://doc.qt.io/archives/qt-5.15/qiodevice.html#aboutToClose

bytesWritten

bytesWritten(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QIODevice.bytesWritten; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QIODevice::bytesWritten(qint64 bytes)

This signal is emitted every time a payload of data has been written to the device's current write channel. The bytes argument is set to the number of bytes that were written in this payload.

bytesWritten() is not emitted recursively; if you reenter the event loop or call waitForBytesWritten() inside a slot connected to the bytesWritten() signal, the signal will not be reemitted (although waitForBytesWritten() may still return true).

See also readyRead().

Source: https://doc.qt.io/archives/qt-5.15/qiodevice.html#bytesWritten

channelBytesWritten

channelBytesWritten(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QIODevice.channelBytesWritten; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QIODevice::channelBytesWritten(int channel, qint64 bytes)

This signal is emitted every time a payload of data has been written to the device. The bytes argument is set to the number of bytes that were written in this payload, while channel is the channel they were written to. Unlike bytesWritten(), it is emitted regardless of the current write channel.

channelBytesWritten() can be emitted recursively - even for the same channel.

This function was introduced in Qt 5.7.

See also bytesWritten() and channelReadyRead().

Source: https://doc.qt.io/archives/qt-5.15/qiodevice.html#channelBytesWritten

channelReadyRead

channelReadyRead(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QIODevice.channelReadyRead; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QIODevice::channelReadyRead(int channel)

This signal is emitted when new data is available for reading from the device. The channel argument is set to the index of the read channel on which the data has arrived. Unlike readyRead(), it is emitted regardless of the current read channel.

channelReadyRead() can be emitted recursively - even for the same channel.

This function was introduced in Qt 5.7.

See also readyRead() and channelBytesWritten().

Source: https://doc.qt.io/archives/qt-5.15/qiodevice.html#channelReadyRead

destroyed

destroyed(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QIODevice.destroyed; argument details are not documented.

objectNameChanged

objectNameChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QIODevice.objectNameChanged; argument details are not documented.

readChannelFinished

readChannelFinished(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QIODevice.readChannelFinished; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QIODevice::readChannelFinished()

This signal is emitted when the input (reading) stream is closed in this device. It is emitted as soon as the closing is detected, which means that there might still be data available for reading with read().

This function was introduced in Qt 4.4.

See also atEnd() and read().

Source: https://doc.qt.io/archives/qt-5.15/qiodevice.html#readChannelFinished

readyRead

readyRead(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QIODevice.readyRead; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QIODevice::readyRead()

This signal is emitted once every time new data is available for reading from the device's current read channel. It will only be emitted again once new data is available, such as when a new payload of network data has arrived on your network socket, or when a new block of data has been appended to your device.

readyRead() is not emitted recursively; if you reenter the event loop or call waitForReadyRead() inside a slot connected to the readyRead() signal, the signal will not be reemitted (although waitForReadyRead() may still return true).

Note for developers implementing classes derived from QIODevice: you should always emit readyRead() when new data has arrived (do not emit it only because there's data still to be read in your buffers). Do not emit readyRead() in other conditions.

See also bytesWritten().

Source: https://doc.qt.io/archives/qt-5.15/qiodevice.html#readyRead