QwuiTag Class Reference

A helper class used to generate HTML tags. More...

#include <qwuitag.h>

List of all members.

Public Member Functions

 QwuiTag (QwuiWebget *w, const QString &tag)
 QwuiTag (QwuiTag *parent, const QString &tag)
virtual ~QwuiTag ()
void setAttribute (const QString &name, const QString &value)
QString attribute (const QString &name) const
void setText (const QString &text)
QString text () const

Private Member Functions

void generate (QTextStream *stream)

Private Attributes

QString m_tag
bool m_emptyTag
QString m_text
QHash< QString, QString > m_attributes
QList< QwuiTag * > m_children

Detailed Description

A helper class used to generate HTML tags.

Constructor & Destructor Documentation

QwuiTag::QwuiTag ( QwuiWebget w,
const QString &  tag 
QwuiTag::QwuiTag ( QwuiTag parent,
const QString &  tag 
QwuiTag::~QwuiTag (  )  [virtual]

Member Function Documentation

QString QwuiTag::attribute ( const QString &  name  )  const
void QwuiTag::generate ( QTextStream *  stream  )  [private]
void QwuiTag::setAttribute ( const QString &  name,
const QString &  value 
void QwuiTag::setText ( const QString &  text  ) 
QString QwuiTag::text (  )  const

Member Data Documentation

QHash<QString, QString> QwuiTag::m_attributes [private]
QList<QwuiTag*> QwuiTag::m_children [private]
bool QwuiTag::m_emptyTag [private]
QString QwuiTag::m_tag [private]
QString QwuiTag::m_text [private]

The documentation for this class was generated from the following files:
Generated on Fri Jun 4 01:18:58 2010 for QtWui : Web User Interfaces for Qt by  doxygen 1.6.3