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

#include <ui4.h>

+ Collaboration diagram for DomAction:

Public Member Functions

 DomAction ()=default
 
 ~DomAction ()
 
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 ()
 
bool hasAttributeMenu () const
 
QString attributeMenu () const
 
void setAttributeMenu (const QString &a)
 
void clearAttributeMenu ()
 
QList< DomProperty * > elementProperty () const
 
void setElementProperty (const QList< DomProperty * > &a)
 
QList< DomProperty * > elementAttribute () const
 
void setElementAttribute (const QList< DomProperty * > &a)
 

Detailed Description

Definition at line 475 of file ui4.h.

Constructor & Destructor Documentation

◆ DomAction()

DomAction::DomAction ( )
default

◆ ~DomAction()

DomAction::~DomAction ( )

Definition at line 855 of file ui4.cpp.

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

+ Here is the call graph for this function:

Member Function Documentation

◆ attributeMenu()

QString DomAction::attributeMenu ( ) const
inline

Definition at line 491 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ attributeName()

QString DomAction::attributeName ( ) const
inline

Definition at line 486 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ clearAttributeMenu()

void DomAction::clearAttributeMenu ( )
inline

Definition at line 493 of file ui4.h.

◆ clearAttributeName()

void DomAction::clearAttributeName ( )
inline

Definition at line 488 of file ui4.h.

◆ elementAttribute()

QList< DomProperty * > DomAction::elementAttribute ( ) const
inline

Definition at line 499 of file ui4.h.

◆ elementProperty()

QList< DomProperty * > DomAction::elementProperty ( ) const
inline

Definition at line 496 of file ui4.h.

Referenced by CPP::WriteInitialization::acceptAction().

+ Here is the caller graph for this function:

◆ hasAttributeMenu()

bool DomAction::hasAttributeMenu ( ) const
inline

Definition at line 490 of file ui4.h.

Referenced by CPP::WriteInitialization::acceptAction(), and write().

+ Here is the caller graph for this function:

◆ hasAttributeName()

bool DomAction::hasAttributeName ( ) const
inline

Definition at line 485 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ read()

void DomAction::read ( QXmlStreamReader & reader)

Definition at line 863 of file ui4.cpp.

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

+ Here is the call graph for this function:

◆ setAttributeMenu()

void DomAction::setAttributeMenu ( const QString & a)
inline

Definition at line 492 of file ui4.h.

Referenced by read().

+ Here is the caller graph for this function:

◆ setAttributeName()

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

Definition at line 487 of file ui4.h.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementAttribute()

void DomAction::setElementAttribute ( const QList< DomProperty * > & a)

Definition at line 931 of file ui4.cpp.

◆ setElementProperty()

void DomAction::setElementProperty ( const QList< DomProperty * > & a)

Definition at line 925 of file ui4.cpp.

◆ write()

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

Definition at line 906 of file ui4.cpp.

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

+ Here is the call graph for this function:

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