|
|
|
@ -196,11 +196,11 @@ public:
|
|
|
|
|
|
|
|
|
|
QDate date() const { return d; }
|
|
|
|
|
QTime time() const { return t; }
|
|
|
|
|
uint toTime_t() const;
|
|
|
|
|
time_t toTime_t() const;
|
|
|
|
|
void setDate( const QDate &date ) { d = date; }
|
|
|
|
|
void setTime( const QTime &time ) { t = time; }
|
|
|
|
|
void setTime_t( uint secsSince1Jan1970UTC );
|
|
|
|
|
void setTime_t( uint secsSince1Jan1970UTC, Qt::TimeSpec );
|
|
|
|
|
void setTime_t( time_t secsSince1Jan1970UTC );
|
|
|
|
|
void setTime_t( time_t secsSince1Jan1970UTC, Qt::TimeSpec );
|
|
|
|
|
#ifndef QT_NO_DATESTRING
|
|
|
|
|
#ifndef QT_NO_SPRINTF
|
|
|
|
|
QString toString( Qt::DateFormat f = Qt::TextDate ) const;
|
|
|
|
|