Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/corelib/tools/qdatetime.h

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation ([email protected])
     
    231231    QTime time() const;
    232232    Qt::TimeSpec timeSpec() const;
     233
    233234    uint toTime_t() const;
    234235    void setDate(const QDate &date);
    235236    void setTime(const QTime &time);
    236237    void setTimeSpec(Qt::TimeSpec spec);
     238
    237239    void setTime_t(uint secsSince1Jan1970UTC);
    238240#ifndef QT_NO_DATESTRING
     
    250252    int daysTo(const QDateTime &) const;
    251253    int secsTo(const QDateTime &) const;
     254
    252255
    253256    bool operator==(const QDateTime &other) const;
     
    262265
    263266    static QDateTime currentDateTime();
     267
    264268#ifndef QT_NO_DATESTRING
    265269    static QDateTime fromString(const QString &s, Qt::DateFormat f = Qt::TextDate);
     
    267271#endif
    268272    static QDateTime fromTime_t(uint secsSince1Jan1970UTC);
     273
     274
    269275
    270276#ifdef QT3_SUPPORT
Note: See TracChangeset for help on using the changeset viewer.