Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions

Compatibility Members for QDateTime

The following class members are part of the Qt 3 compatibility layer. They are provided to help you port old code to Qt 4. We strongly advise against using them in new code.

QDateTime class reference

Public Functions

Static Public Members


Member Function Documentation

QDateTime QDateTime::currentDateTime ( Qt::TimeSpec spec )   [static]

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Use the currentDateTime() overload that takes no parameters instead.

void QDateTime::setTime_t ( uint secsSince1Jan1970UTC, Qt::TimeSpec spec )

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Use the single-argument overload of setTime_t() instead.


Copyright © 2004 Trolltech Trademarks
Qt 4.0.0-b1