diff options
-rw-r--r-- | src/tools/qdatetime.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/qdatetime.h b/src/tools/qdatetime.h index 7a58667..1c7b972 100644 --- a/src/tools/qdatetime.h +++ b/src/tools/qdatetime.h @@ -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; |