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()も参照 。
© 2025 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.