AlkDomDocument

Search for usage in LXR

#include <alkdom.h>

Inheritance diagram for AlkDomDocument:

Public Member Functions

 AlkDomDocument (const QString &type=QString())
 
AlkDomElement createElement (const QString &name)
 
QString toString (bool withIndentation=true, int level=0) const override
 
- Public Member Functions inherited from AlkDomElement
 AlkDomElement (const QString &tag=QString())
 
void appendChild (const AlkDomElement &element)
 
void setAttribute (const QString &name, const QString &value)
 
void setAttribute (const QString &name, double value)
 
void setComment (const QString &comment)
 

Protected Attributes

QString m_type
 
- Protected Attributes inherited from AlkDomElement
QStringList m_attributes
 
QList< AlkDomElementm_childs
 
QString m_comment
 
QString m_tag
 

Detailed Description

The class AlkDomDocument is a simple replacement for QDomDocument.

Author
Ralf Habacker ralf..nosp@m.haba.nosp@m.cker@.nosp@m.free.nosp@m.net.d.nosp@m.e

Definition at line 51 of file alkdom.h.

Constructor & Destructor Documentation

◆ AlkDomDocument()

AlkDomDocument::AlkDomDocument ( const QString & type = QString())

Definition at line 71 of file alkdom.cpp.

◆ ~AlkDomDocument()

AlkDomDocument::~AlkDomDocument ( )
overridevirtual

Definition at line 77 of file alkdom.cpp.

Member Function Documentation

◆ createElement()

AlkDomElement AlkDomDocument::createElement ( const QString & name)

Definition at line 81 of file alkdom.cpp.

◆ toString()

QString AlkDomDocument::toString ( bool withIndentation = true,
int level = 0 ) const
overridevirtual

Reimplemented from AlkDomElement.

Definition at line 86 of file alkdom.cpp.

Member Data Documentation

◆ m_type

QString AlkDomDocument::m_type
protected

Definition at line 61 of file alkdom.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.