Obsolete Members for QBasicTimer

QBasicTimer クラスの以下のメンバーは非推奨となっています。これらは、古いソースコードが動作し続けるように提供されているものです。新しいコードでの使用は強く推奨しません。

パブリック関数

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

メンバー関数のドキュメント

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

この関数は非推奨となっています。新しいコードでの使用は強く推奨しません。

代わりに chrono のオーバーロードを使用してください。

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

この関数は非推奨です。新しいコードでの使用は強くお勧めしません。

代わりに chrono のオーバーロードを使用してください。

これはオーバーロードされた関数です。

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

この関数は非推奨です。新しいコードでの使用は強く推奨しません。

タイマーの ID を返します。

新しいコードでは、代わりにid() を使用してください。

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.