Obsolete Members for QBasicTimer

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

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

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

Utiliza en su lugar la sobrecarga de chrono.

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

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

Utiliza en su lugar la sobrecarga de chrono.

Esta es una función sobrecargada.

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

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

Devuelve el identificador del temporizador.

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

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.