Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-116876

Document QElapsedTimer::Duration, QElapsedTimer::TimePoint

    XMLWordPrintable

Details

    • 3fbcf5382 (dev), 046ea6b70 (6.6)

    Description

      QElapsedTimer::Duration, QElapsedTimer::TimePoint are declared in code to be the same as std::chrono::nanoseconds, std::chrono::time_point<std::chrono::steady_clock, Duration>:

          using Duration = std::chrono::nanoseconds;
          using TimePoint = std::chrono::time_point<std::chrono::steady_clock, Duration>;
      

      Anyhow, in the documentation that is documented only very indirectly: https://doc-snapshots.qt.io/qt6-6.6/qelapsedtimer.html . We should make this more explicit.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-116876
          # Subject Branch Project Status CR V

          Activity

            People

              docteam Qt Documentation Team
              kkohne Kai Köhne
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes