Obsolete Members for QDBusConnection

Los siguientes miembros de la clase ` QDBusConnection ` están obsoletos. Se incluyen para que el código fuente antiguo siga funcionando. Recomendamos encarecidamente no utilizarlos 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 las funciones de miembro

[deprecated] bool QDBusConnection::callWithCallback(const QDBusMessage &message, QObject *receiver, const char *returnMethod, int timeout = -1) const

Esta función está obsoleta. Recomendamos encarecidamente no utilizarla en código nuevo.

Envía el objeto ` message ` a través de esta conexión y devuelve el resultado de inmediato. Cuando se recibe la respuesta, se invoca el método ` returnMethod ` en el objeto ` receiver `.

Esta función solo es adecuada para llamadas a métodos. Se garantiza que el slot se llamará exactamente una vez con la respuesta, siempre que los tipos de los 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 se ha enviado el mensaje, o «false» si no se ha podido enviar.

Se trata de 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.