Results 1 to 5 of 5

Thread: Invite QDateTime to go 8 secs on future uint

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Invite QDateTime to go 8 secs on future uint

    Quote Originally Posted by patrik08
    is not jump on future....!!
    QDateTime QDateTime::addSecs ( int nsecs ) const
    Returns a QDateTime object containing a datetime nsecs seconds later than the datetime of this object (or earlier if nsecs is negative).
    Try:
    Qt Code:
    1. const uint MAXWAITING = timer2.addSecs( (60 * 60) * 2 ).toTime_t();
    To copy to clipboard, switch view to plain text mode 

  2. The following user says thank you to jacek for this useful post:

    patrik08 (6th June 2006)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.