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
DomDateTime Class Reference

#include <ui4.h>

+ Collaboration diagram for DomDateTime:

Public Member Functions

 DomDateTime ()=default
 
 ~DomDateTime ()
 
void read (QXmlStreamReader &reader)
 
void write (QXmlStreamWriter &writer, const QString &tagName=QString()) const
 
int elementHour () const
 
void setElementHour (int a)
 
bool hasElementHour () const
 
void clearElementHour ()
 
int elementMinute () const
 
void setElementMinute (int a)
 
bool hasElementMinute () const
 
void clearElementMinute ()
 
int elementSecond () const
 
void setElementSecond (int a)
 
bool hasElementSecond () const
 
void clearElementSecond ()
 
int elementYear () const
 
void setElementYear (int a)
 
bool hasElementYear () const
 
void clearElementYear ()
 
int elementMonth () const
 
void setElementMonth (int a)
 
bool hasElementMonth () const
 
void clearElementMonth ()
 
int elementDay () const
 
void setElementDay (int a)
 
bool hasElementDay () const
 
void clearElementDay ()
 

Detailed Description

Definition at line 1977 of file ui4.h.

Constructor & Destructor Documentation

◆ DomDateTime()

DomDateTime::DomDateTime ( )
default

◆ ~DomDateTime()

DomDateTime::~DomDateTime ( )
default

Member Function Documentation

◆ clearElementDay()

void DomDateTime::clearElementDay ( )

Definition at line 3993 of file ui4.cpp.

◆ clearElementHour()

void DomDateTime::clearElementHour ( )

Definition at line 3968 of file ui4.cpp.

◆ clearElementMinute()

void DomDateTime::clearElementMinute ( )

Definition at line 3973 of file ui4.cpp.

◆ clearElementMonth()

void DomDateTime::clearElementMonth ( )

Definition at line 3988 of file ui4.cpp.

◆ clearElementSecond()

void DomDateTime::clearElementSecond ( )

Definition at line 3978 of file ui4.cpp.

◆ clearElementYear()

void DomDateTime::clearElementYear ( )

Definition at line 3983 of file ui4.cpp.

◆ elementDay()

int DomDateTime::elementDay ( ) const
inline

Definition at line 2012 of file ui4.h.

◆ elementHour()

int DomDateTime::elementHour ( ) const
inline

Definition at line 1987 of file ui4.h.

◆ elementMinute()

int DomDateTime::elementMinute ( ) const
inline

Definition at line 1992 of file ui4.h.

◆ elementMonth()

int DomDateTime::elementMonth ( ) const
inline

Definition at line 2007 of file ui4.h.

◆ elementSecond()

int DomDateTime::elementSecond ( ) const
inline

Definition at line 1997 of file ui4.h.

◆ elementYear()

int DomDateTime::elementYear ( ) const
inline

Definition at line 2002 of file ui4.h.

◆ hasElementDay()

bool DomDateTime::hasElementDay ( ) const
inline

Definition at line 2014 of file ui4.h.

References Day().

+ Here is the call graph for this function:

◆ hasElementHour()

bool DomDateTime::hasElementHour ( ) const
inline

Definition at line 1989 of file ui4.h.

◆ hasElementMinute()

bool DomDateTime::hasElementMinute ( ) const
inline

Definition at line 1994 of file ui4.h.

◆ hasElementMonth()

bool DomDateTime::hasElementMonth ( ) const
inline

Definition at line 2009 of file ui4.h.

◆ hasElementSecond()

bool DomDateTime::hasElementSecond ( ) const
inline

Definition at line 1999 of file ui4.h.

◆ hasElementYear()

bool DomDateTime::hasElementYear ( ) const
inline

Definition at line 2004 of file ui4.h.

◆ read()

void DomDateTime::read ( QXmlStreamReader & reader)

Definition at line 3866 of file ui4.cpp.

References Qt::CaseInsensitive, setElementDay(), setElementHour(), setElementMinute(), setElementMonth(), setElementSecond(), setElementYear(), and tag.

+ Here is the call graph for this function:

◆ setElementDay()

void DomDateTime::setElementDay ( int a)

Definition at line 3962 of file ui4.cpp.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementHour()

void DomDateTime::setElementHour ( int a)

Definition at line 3932 of file ui4.cpp.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementMinute()

void DomDateTime::setElementMinute ( int a)

Definition at line 3938 of file ui4.cpp.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementMonth()

void DomDateTime::setElementMonth ( int a)

Definition at line 3956 of file ui4.cpp.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementSecond()

void DomDateTime::setElementSecond ( int a)

Definition at line 3944 of file ui4.cpp.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementYear()

void DomDateTime::setElementYear ( int a)

Definition at line 3950 of file ui4.cpp.

Referenced by read().

+ Here is the caller graph for this function:

◆ write()

void DomDateTime::write ( QXmlStreamWriter & writer,
const QString & tagName = QString() ) const

Definition at line 3907 of file ui4.cpp.

References QString::isEmpty(), QString::number(), QStringLiteral, and QString::toLower().

Referenced by DomProperty::write().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: