PACK Qt Binding  $VERSION$
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
Protected Member Functions | Static Protected Member Functions | List of all members
WObject Class Reference

#include <object.h>

Protected Member Functions

 WObject ()
 
 WObject (const WObject &)
 
 WObject (WObject &&)
 
 WObject (const QDomElement &)
 
virtual ~WObject ()
 
virtual QDomElement toXml (QDomDocument &, QString name="Object")
 
virtual WObjectoperator= (const WObject &)
 
virtual WObjectoperator= (WObject &&)
 
virtual void toXml (QDomDocument &, QDomElement &)
 
bool str2bool (QString s)
 

Static Protected Member Functions

static QList< QDomElement > elementsByTagName (const QDomElement &, QString)
 

Detailed Description

base class of all web based objects

Constructor & Destructor Documentation

WObject::WObject ( )
inlineprotected
WObject::WObject ( const WObject )
inlineprotected
WObject::WObject ( WObject &&  )
inlineprotected
WObject::WObject ( const QDomElement &  )
inlineprotected
virtual WObject::~WObject ( )
inlineprotectedvirtual

Member Function Documentation

QList< QDomElement > WObject::elementsByTagName ( const QDomElement &  root,
QString  tag 
)
staticprotected

helper for de-serializers: returns direct child elements with given tag name (necessary because QDomElement::elementsByTagName traverses all children)

virtual WObject& WObject::operator= ( const WObject )
inlineprotectedvirtual
virtual WObject& WObject::operator= ( WObject &&  )
inlineprotectedvirtual
bool WObject::str2bool ( QString  s)
protected

helper for XML decoding: transforms string to boolean

QDomElement WObject::toXml ( QDomDocument &  doc,
QString  name = "Object" 
)
protectedvirtual
virtual void WObject::toXml ( QDomDocument &  ,
QDomElement &   
)
inlineprotectedvirtual

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