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

#include <ui4.h>

+ Collaboration diagram for DomResources:

Public Member Functions

 DomResources ()=default
 
 ~DomResources ()
 
void read (QXmlStreamReader &reader)
 
void write (QXmlStreamWriter &writer, const QString &tagName=QString()) const
 
bool hasAttributeName () const
 
QString attributeName () const
 
void setAttributeName (const QString &a)
 
void clearAttributeName ()
 
QList< DomResource * > elementInclude () const
 
void setElementInclude (const QList< DomResource * > &a)
 

Detailed Description

Definition at line 373 of file ui4.h.

Constructor & Destructor Documentation

◆ DomResources()

DomResources::DomResources ( )
default

◆ ~DomResources()

DomResources::~DomResources ( )

Definition at line 649 of file ui4.cpp.

References QList< T >::clear(), and qDeleteAll().

+ Here is the call graph for this function:

Member Function Documentation

◆ attributeName()

QString DomResources::attributeName ( ) const
inline

Definition at line 384 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ clearAttributeName()

void DomResources::clearAttributeName ( )
inline

Definition at line 386 of file ui4.h.

◆ elementInclude()

QList< DomResource * > DomResources::elementInclude ( ) const
inline

Definition at line 389 of file ui4.h.

◆ hasAttributeName()

bool DomResources::hasAttributeName ( ) const
inline

Definition at line 383 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ read()

void DomResources::read ( QXmlStreamReader & reader)

Definition at line 655 of file ui4.cpp.

References QList< T >::append(), Qt::CaseInsensitive, setAttributeName(), and tag.

+ Here is the call graph for this function:

◆ setAttributeName()

void DomResources::setAttributeName ( const QString & a)
inline

Definition at line 385 of file ui4.h.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementInclude()

void DomResources::setElementInclude ( const QList< DomResource * > & a)

Definition at line 701 of file ui4.cpp.

◆ write()

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

Definition at line 688 of file ui4.cpp.

References attributeName(), hasAttributeName(), QString::isEmpty(), QStringLiteral, and QString::toLower().

Referenced by DomUI::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: