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

#include <ui4.h>

+ Collaboration diagram for DomLocale:

Public Member Functions

 DomLocale ()=default
 
 ~DomLocale ()
 
void read (QXmlStreamReader &reader)
 
void write (QXmlStreamWriter &writer, const QString &tagName=QString()) const
 
bool hasAttributeLanguage () const
 
QString attributeLanguage () const
 
void setAttributeLanguage (const QString &a)
 
void clearAttributeLanguage ()
 
bool hasAttributeCountry () const
 
QString attributeCountry () const
 
void setAttributeCountry (const QString &a)
 
void clearAttributeCountry ()
 

Detailed Description

Definition at line 1771 of file ui4.h.

Constructor & Destructor Documentation

◆ DomLocale()

DomLocale::DomLocale ( )
default

◆ ~DomLocale()

DomLocale::~DomLocale ( )
default

Member Function Documentation

◆ attributeCountry()

QString DomLocale::attributeCountry ( ) const
inline

Definition at line 1787 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ attributeLanguage()

QString DomLocale::attributeLanguage ( ) const
inline

Definition at line 1782 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ clearAttributeCountry()

void DomLocale::clearAttributeCountry ( )
inline

Definition at line 1789 of file ui4.h.

◆ clearAttributeLanguage()

void DomLocale::clearAttributeLanguage ( )
inline

Definition at line 1784 of file ui4.h.

◆ hasAttributeCountry()

bool DomLocale::hasAttributeCountry ( ) const
inline

Definition at line 1786 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ hasAttributeLanguage()

bool DomLocale::hasAttributeLanguage ( ) const
inline

Definition at line 1781 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ read()

void DomLocale::read ( QXmlStreamReader & reader)

Definition at line 3480 of file ui4.cpp.

References setAttributeCountry(), setAttributeLanguage(), and tag.

+ Here is the call graph for this function:

◆ setAttributeCountry()

void DomLocale::setAttributeCountry ( const QString & a)
inline

Definition at line 1788 of file ui4.h.

Referenced by read().

+ Here is the caller graph for this function:

◆ setAttributeLanguage()

void DomLocale::setAttributeLanguage ( const QString & a)
inline

Definition at line 1783 of file ui4.h.

Referenced by read().

+ Here is the caller graph for this function:

◆ write()

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

Definition at line 3511 of file ui4.cpp.

References attributeCountry(), attributeLanguage(), hasAttributeCountry(), hasAttributeLanguage(), QString::isEmpty(), 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: