Logo Search packages:      
Sourcecode: qt4-x11 version File versions

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

See also:
addMSecs(), secsTo(), addDays(), addMonths(), addYears()

Definition at line 2335 of file qdatetime.cpp.

References addMSecs().

    return d->addMSecs(*this, qint64(nsecs) * 1000);

Generated by  Doxygen 1.6.0   Back to index