Qt 4.8
Classes | Functions
qdatetime.h File Reference
#include <QtCore/qstring.h>
#include <QtCore/qnamespace.h>
#include <QtCore/qsharedpointer.h>

Go to the source code of this file.

Classes

class  QDate
 The QDate class provides date functions. More...
 
class  QDateTime
 The QDateTime class provides date and time functions. More...
 
class  QTime
 The QTime class provides clock time functions. More...
 

Functions

Q_CORE_EXPORT QDataStreamoperator<< (QDataStream &, const QDate &)
 
Q_CORE_EXPORT QDataStreamoperator<< (QDataStream &, const QTime &)
 
Q_CORE_EXPORT QDataStreamoperator<< (QDataStream &, const QDateTime &)
 
Q_CORE_EXPORT QDebug operator<< (QDebug, const QDate &)
 
Q_CORE_EXPORT QDebug operator<< (QDebug, const QTime &)
 
Q_CORE_EXPORT QDebug operator<< (QDebug, const QDateTime &)
 
Q_CORE_EXPORT QDataStreamoperator>> (QDataStream &, QDate &)
 
Q_CORE_EXPORT QDataStreamoperator>> (QDataStream &, QTime &)
 
Q_CORE_EXPORT QDataStreamoperator>> (QDataStream &, QDateTime &)
 
 Q_DECLARE_TYPEINFO (QDate, Q_MOVABLE_TYPE)
 
 Q_DECLARE_TYPEINFO (QTime, Q_MOVABLE_TYPE)
 
 Q_DECLARE_TYPEINFO (QDateTime, Q_MOVABLE_TYPE)
 

Function Documentation

◆ operator<<() [1/6]

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

◆ operator<<() [2/6]

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

◆ operator<<() [3/6]

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

◆ operator<<() [4/6]

Q_CORE_EXPORT QDebug operator<< ( QDebug  ,
const QDate  
)

Definition at line 4436 of file qdatetime.cpp.

4437 {
4438  dbg.nospace() << "QDate(" << date.toString() << ')';
4439  return dbg.space();
4440 }

◆ operator<<() [5/6]

Q_CORE_EXPORT QDebug operator<< ( QDebug  ,
const QTime  
)

Definition at line 4442 of file qdatetime.cpp.

4443 {
4444  dbg.nospace() << "QTime(" << time.toString() << ')';
4445  return dbg.space();
4446 }

◆ operator<<() [6/6]

Q_CORE_EXPORT QDebug operator<< ( QDebug  ,
const QDateTime  
)

Definition at line 4448 of file qdatetime.cpp.

4449 {
4450  dbg.nospace() << "QDateTime(" << date.toString() << ')';
4451  return dbg.space();
4452 }

◆ operator>>() [1/3]

Q_CORE_EXPORT QDataStream& operator>> ( QDataStream ,
QDate  
)

◆ operator>>() [2/3]

Q_CORE_EXPORT QDataStream& operator>> ( QDataStream ,
QTime  
)

◆ operator>>() [3/3]

Q_CORE_EXPORT QDataStream& operator>> ( QDataStream ,
QDateTime  
)

◆ Q_DECLARE_TYPEINFO() [1/3]

Q_DECLARE_TYPEINFO ( QDate  ,
Q_MOVABLE_TYPE   
)

◆ Q_DECLARE_TYPEINFO() [2/3]

Q_DECLARE_TYPEINFO ( QTime  ,
Q_MOVABLE_TYPE   
)

◆ Q_DECLARE_TYPEINFO() [3/3]

Q_DECLARE_TYPEINFO ( QDateTime  ,
Q_MOVABLE_TYPE   
)