Obsolete Members for QBasicTimer

I seguenti membri della classe ` QBasicTimer ` sono deprecati. Sono forniti per garantire la compatibilità con il codice sorgente esistente. Si sconsiglia vivamente di utilizzarli nel nuovo codice.

Funzioni pubbliche

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

Documentazione sulle funzioni membro

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

Questa funzione è deprecata. Si sconsiglia vivamente di utilizzarla nel codice nuovo.

Utilizzare invece il sovraccarico di chrono.

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

Questa funzione è deprecata. Si sconsiglia vivamente di utilizzarla nel codice nuovo.

Utilizzare invece il sovraccarico di chrono.

Questa è una funzione sovraccaricata.

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

Questa funzione è deprecata. Si sconsiglia vivamente di utilizzarla nel codice nuovo.

Restituisce l'ID del timer.

Nel nuovo codice utilizzare invece ` id()`

Vedi anche 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.