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

#include <ui4.h>

+ Collaboration diagram for DomTime:

Public Member Functions

 DomTime ()=default
 
 ~DomTime ()
 
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 ()
 

Detailed Description

Definition at line 1937 of file ui4.h.

Constructor & Destructor Documentation

◆ DomTime()

DomTime::DomTime ( )
default

◆ ~DomTime()

DomTime::~DomTime ( )
default

Member Function Documentation

◆ clearElementHour()

void DomTime::clearElementHour ( )

Definition at line 3849 of file ui4.cpp.

◆ clearElementMinute()

void DomTime::clearElementMinute ( )

Definition at line 3854 of file ui4.cpp.

◆ clearElementSecond()

void DomTime::clearElementSecond ( )

Definition at line 3859 of file ui4.cpp.

◆ elementHour()

int DomTime::elementHour ( ) const
inline

Definition at line 1947 of file ui4.h.

◆ elementMinute()

int DomTime::elementMinute ( ) const
inline

Definition at line 1952 of file ui4.h.

◆ elementSecond()

int DomTime::elementSecond ( ) const
inline

Definition at line 1957 of file ui4.h.

◆ hasElementHour()

bool DomTime::hasElementHour ( ) const
inline

Definition at line 1949 of file ui4.h.

◆ hasElementMinute()

bool DomTime::hasElementMinute ( ) const
inline

Definition at line 1954 of file ui4.h.

◆ hasElementSecond()

bool DomTime::hasElementSecond ( ) const
inline

Definition at line 1959 of file ui4.h.

◆ read()

void DomTime::read ( QXmlStreamReader & reader)

Definition at line 3786 of file ui4.cpp.

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

+ Here is the call graph for this function:

◆ setElementHour()

void DomTime::setElementHour ( int a)

Definition at line 3831 of file ui4.cpp.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementMinute()

void DomTime::setElementMinute ( int a)

Definition at line 3837 of file ui4.cpp.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementSecond()

void DomTime::setElementSecond ( int a)

Definition at line 3843 of file ui4.cpp.

Referenced by read().

+ Here is the caller graph for this function:

◆ write()

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

Definition at line 3815 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: