Obsolete Members for QBasicTimer

Los siguientes miembros de la clase QBasicTimer son obsoletos. Se proporcionan para que el código fuente antiguo siga funcionando. Desaconsejamos su uso en código nuevo.

Funciones públicas

(deprecated) void start(int msec, QObject *object)
(deprecated) void start(int msec, Qt::TimerType timerType, QObject *obj)
(deprecated) int timerId() const

Documentación de funciones miembro

[deprecated] void QBasicTimer::start(int msec, QObject *object)

Esta función está obsoleta. Desaconsejamos su uso en código nuevo.

Utilice en su lugar la sobrecarga chrono.

[deprecated] void QBasicTimer::start(int msec, Qt::TimerType timerType, QObject *obj)

Esta función está obsoleta. Desaconsejamos su uso en código nuevo.

Utilice en su lugar la sobrecarga chrono.

Esta es una función sobrecargada.

[noexcept, deprecated] int QBasicTimer::timerId() const

Esta función está obsoleta. Desaconsejamos su uso en código nuevo.

Devuelve el ID del temporizador.

En código nuevo utilice id() en su lugar.

Véase también QTimerEvent::timerId().

© 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.