Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [Feature Request] Make QTime emit signal when it wraps at 24 hours
Forum Updated to NodeBB v4.3 + New Features

[Feature Request] Make QTime emit signal when it wraps at 24 hours

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 700 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SlySven
    wrote on last edited by
    #1

    In the documentation it is made clear that when using QTime to time something it will wrap at the 24 hour mark (and presumable will become "invalid" for that millisecond where all the element, hours, minutes, seconds and milliseconds are zero) would it not be "a good idea" to have it emit a signal at that time so that code that uses it for timing things with the elapsed() method get a wake-up call to deal with that eventuality?

    As a "lab rat" I realise that I may not be posting this request in the right place, if that is so, can someone tell me (nicely 8-) ) where to go!

    Edit: Um, I meant: deal with the fact that it has wrapped; not that momentarily it becomes invalid…

    1 Reply Last reply
    0
    • G Offline
      G Offline
      gyll
      wrote on last edited by
      #2

      The right place for suggestions is http://bugreports.qt-project.org , select "Qt" as the "Project", then select "Suggestions" as the "Issue type", and i guess you should select "Core: Date/Time" as the "Component" (or just leave the "Component" unselected if allowed). Then fill in your suggestion there.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved