Skip to content

PythonQt.Qt.QSocketNotifier · declarations 001

Back to PythonQt.Qt.QSocketNotifier

activated

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

Native PythonQt.Qt.QSocketNotifier.activated; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QSocketNotifier::activated(QSocketDescriptor socket, QSocketNotifier::Type type)

This signal is emitted whenever the socket notifier is enabled and a socket event corresponding to its type occurs.

The socket identifier is passed in the socket parameter.

Note: This is a private signal. It can be used in signal connections but cannot be emitted by the user.

Note: Signal activated is overloaded in this class. To connect to this signal by using the function pointer syntax, Qt provides a convenient helper for obtaining the function pointer as shown in this example:

connect(socketNotifier, QOverload<QSocketDescriptor, QSocketNotifier::Type>::of(&QSocketNotifier::activated),
    [=](QSocketDescriptor socket, QSocketNotifier::Type type){ /* ... */ });

This function was introduced in Qt 5.15.

See also type() and socket().

Source: https://doc.qt.io/archives/qt-5.15/qsocketnotifier.html#activated

destroyed

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

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

objectNameChanged

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

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