Changeset 846 for trunk/src/corelib/tools/qdatetime.h
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/src/corelib/tools/qdatetime.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 231 231 QTime time() const; 232 232 Qt::TimeSpec timeSpec() const; 233 233 234 uint toTime_t() const; 234 235 void setDate(const QDate &date); 235 236 void setTime(const QTime &time); 236 237 void setTimeSpec(Qt::TimeSpec spec); 238 237 239 void setTime_t(uint secsSince1Jan1970UTC); 238 240 #ifndef QT_NO_DATESTRING … … 250 252 int daysTo(const QDateTime &) const; 251 253 int secsTo(const QDateTime &) const; 254 252 255 253 256 bool operator==(const QDateTime &other) const; … … 262 265 263 266 static QDateTime currentDateTime(); 267 264 268 #ifndef QT_NO_DATESTRING 265 269 static QDateTime fromString(const QString &s, Qt::DateFormat f = Qt::TextDate); … … 267 271 #endif 268 272 static QDateTime fromTime_t(uint secsSince1Jan1970UTC); 273 274 269 275 270 276 #ifdef QT3_SUPPORT
Note:
See TracChangeset
for help on using the changeset viewer.