Obsolete Members for QDateTimeEdit

クラスQDateTimeEdit の以下のメンバーは非推奨です。これらは古いソース・コードの動作を維持するために提供されています。新しいコードでは使用しないことを強くお勧めします。

プロパティ

  • (deprecated in 6.10) timeSpec : Qt::TimeSpec

パブリック関数

(deprecated) void setTimeSpec(Qt::TimeSpec spec)
(deprecated) Qt::TimeSpec timeSpec() const

プロパティ・ドキュメンテーション

[deprecated in 6.10] timeSpec : Qt::TimeSpec

このプロパティは6.10以降非推奨です。新しいコードでは使用しないことを強くお勧めします。

代わりにQDateTimeEdit::timeZone

このプロパティは、日付時刻編集で使用される現在のタイムスペックを保持します。

Qt 6.7 以降では、timeZone プロパティの間接的なアクセサです。

アクセス関数です:

Qt::TimeSpec timeSpec() const
void setTimeSpec(Qt::TimeSpec spec)

QDateTimeEdit::timeZoneも参照して ください。

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