summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tools/ntqdatetime.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/ntqdatetime.h b/src/tools/ntqdatetime.h
index 4c5a3b4f8..213d42b2c 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;