Obsolete Members for QDBusConnection
Los siguientes miembros de la clase QDBusConnection son obsoletos. Se proporcionan para que el código fuente antiguo siga funcionando. Desaconsejamos su uso en código nuevo.
Funciones públicas
(deprecated) bool | callWithCallback(const QDBusMessage &message, QObject *receiver, const char *returnMethod, int timeout = -1) const |
Documentación de funciones miembro
[deprecated] bool QDBusConnection::callWithCallback(const QDBusMessage &message, QObject *receiver, const char *returnMethod, int timeout = -1) const
Esta función está obsoleta. Desaconsejamos su uso en código nuevo.
Envía el message a través de esta conexión y devuelve inmediatamente. Cuando se recibe la respuesta, se llama al método returnMethod en el objeto receiver.
Esta función sólo es adecuada para llamadas a métodos. Se garantiza que la ranura se llamará exactamente una vez con la respuesta, siempre que los tipos de parámetros coincidan y no se produzca ningún error.
Esta función es peligrosa porque no puede informar de errores, incluido el vencimiento del tiempo de espera.
Devuelve true si el mensaje fue enviado, o false si el mensaje no pudo ser enviado.
Esta es una función sobrecargada.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.