Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qtimezone.cpp File Reference
#include "qtimezone.h"
#include <QtCore/qdatastream.h>
#include <QtCore/qdatetime.h>
#include <qdebug.h>
#include <algorithm>
+ Include dependency graph for qtimezone.cpp:

Go to the source code of this file.

Functions

static QString invalidId ()
 
QDataStreamoperator<< (QDataStream &ds, const QTimeZone &tz)
 
QDataStreamoperator>> (QDataStream &ds, QTimeZone &tz)
 
QDebug operator<< (QDebug dbg, const QTimeZone &tz)
 

Function Documentation

◆ invalidId()

static QString invalidId ( )
inlinestatic

Definition at line 1592 of file qtimezone.cpp.

References QStringLiteral.

Referenced by operator>>().

+ Here is the caller graph for this function:

◆ operator<<() [1/2]

QDataStream & operator<< ( QDataStream ds,
const QTimeZone tz 
)

Definition at line 1594 of file qtimezone.cpp.

◆ operator<<() [2/2]

QDebug operator<< ( QDebug  dbg,
const QTimeZone tz 
)

Definition at line 1652 of file qtimezone.cpp.

◆ operator>>()

QDataStream & operator>> ( QDataStream ds,
QTimeZone tz 
)

Definition at line 1606 of file qtimezone.cpp.

References QDateTime::fromMSecsSinceEpoch(), QTimeZone::fromSecondsAheadOfUtc(), invalidId(), QTimeZone::LocalTime, QString::toUtf8(), and QTimeZone::UTC.

+ Here is the call graph for this function: