diff --git a/src/tools/ntqdatetime.h b/src/tools/ntqdatetime.h index 4c5a3b4f..213d42b2 100644 --- a/src/tools/ntqdatetime.h +++ b/src/tools/ntqdatetime.h @@ -196,11 +196,11 @@ public: TQDate date() const { return d; } TQTime time() const { return t; } - uint toTime_t() const; + time_t toTime_t() const; void setDate( const TQDate &date ) { d = date; } void setTime( const TQTime &time ) { t = time; } - void setTime_t( uint secsSince1Jan1970UTC ); - void setTime_t( uint secsSince1Jan1970UTC, TQt::TimeSpec ); + void setTime_t( time_t secsSince1Jan1970UTC ); + void setTime_t( time_t secsSince1Jan1970UTC, TQt::TimeSpec ); #ifndef QT_NO_DATESTRING #ifndef QT_NO_SPRINTF TQString toString( TQt::DateFormat f = TQt::TextDate ) const;