Originally Posted by patrik08
Try: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).Qt Code:
const uint MAXWAITING = timer2.addSecs( (60 * 60) * 2 ).toTime_t();To copy to clipboard, switch view to plain text mode
Bookmarks