Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qdatetime.h File Reference

(669f7e3b9723446732d31d48b653cd2bd9580f2d)

#include <QtCore/qcalendar.h>
#include <QtCore/qcompare.h>
#include <QtCore/qlocale.h>
#include <QtCore/qnamespace.h>
#include <QtCore/qshareddata.h>
#include <QtCore/qstring.h>
#include <limits>
#include <chrono>
+ Include dependency graph for qdatetime.h:

Go to the source code of this file.

Classes

class  QDate
 \inmodule QtCore \reentrant More...
 
class  QTime
 \inmodule QtCore \reentrant More...
 
class  QDateTime
 \inmodule QtCore\reentrant More...
 

Functions

 Q_DECLARE_TYPEINFO (QDate, Q_RELOCATABLE_TYPE)
 
 Q_DECLARE_TYPEINFO (QTime, Q_RELOCATABLE_TYPE)
 
Q_CORE_EXPORT QDataStreamoperator<< (QDataStream &, QDate)
 
Q_CORE_EXPORT QDataStreamoperator>> (QDataStream &, QDate &)
 
Q_CORE_EXPORT QDataStreamoperator<< (QDataStream &, QTime)
 
Q_CORE_EXPORT QDataStreamoperator>> (QDataStream &, QTime &)
 
Q_CORE_EXPORT QDataStreamoperator<< (QDataStream &, const QDateTime &)
 
Q_CORE_EXPORT QDataStreamoperator>> (QDataStream &, QDateTime &)
 
Q_CORE_EXPORT size_t qHash (const QDateTime &key, size_t seed=0)
 
Q_CORE_EXPORT size_t qHash (QDate key, size_t seed=0) noexcept
 
Q_CORE_EXPORT size_t qHash (QTime key, size_t seed=0) noexcept
 

Function Documentation

◆ operator<<() [1/3]

Q_CORE_EXPORT QDataStream & operator<< ( QDataStream & ,
const QDateTime &  )
related

◆ operator<<() [2/3]

Q_CORE_EXPORT QDataStream & operator<< ( QDataStream & ,
QDate  )
related

◆ operator<<() [3/3]

Q_CORE_EXPORT QDataStream & operator<< ( QDataStream & ,
QTime  )
related

◆ operator>>() [1/3]

Q_CORE_EXPORT QDataStream & operator>> ( QDataStream & ,
QDate &  )
related

◆ operator>>() [2/3]

Q_CORE_EXPORT QDataStream & operator>> ( QDataStream & ,
QDateTime &  )
related

◆ operator>>() [3/3]

Q_CORE_EXPORT QDataStream & operator>> ( QDataStream & ,
QTime &  )
related

◆ Q_DECLARE_TYPEINFO() [1/2]

Q_DECLARE_TYPEINFO ( QDate ,
Q_RELOCATABLE_TYPE  )

◆ Q_DECLARE_TYPEINFO() [2/2]

Q_DECLARE_TYPEINFO ( QTime ,
Q_RELOCATABLE_TYPE  )

◆ qHash() [1/3]

Q_CORE_EXPORT size_t qHash ( const QDateTime & key,
size_t seed = 0 )
related

Definition at line 6252 of file qdatetime.cpp.

Referenced by QHash< Key, T >::qHash(), QHash< Key, T >::qHash(), and QHash< Key, T >::qHash().

+ Here is the caller graph for this function:

◆ qHash() [2/3]

Q_CORE_EXPORT size_t qHash ( QDate key,
size_t seed = 0 )
related

Definition at line 6267 of file qdatetime.cpp.

◆ qHash() [3/3]

Q_CORE_EXPORT size_t qHash ( QTime key,
size_t seed = 0 )
related

Definition at line 6278 of file qdatetime.cpp.