Qt IOC Container 3.5


qic::PropertyListParser Class Reference

#include <PropertyListParser.h>

Inheritance diagram for qic::PropertyListParser:

Inheritance graph
[legend]
Collaboration diagram for qic::PropertyListParser:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~PropertyListParser ()
virtual QVariant parseProperty (const QDomNode &prop, QHash< QString, QObject * > &parser_map)

Detailed Description

PropertyListParser parses <list></list> element of the properties and convert it to a QVariant object.

Author:
Zhihong "John" Wang

Definition at line 20 of file PropertyListParser.h.


Constructor & Destructor Documentation

virtual qic::PropertyListParser::~PropertyListParser  )  [inline, virtual]
 

Definition at line 26 of file PropertyListParser.h.


Member Function Documentation

QVariant PropertyListParser::parseProperty const QDomNode &  prop,
QHash< QString, QObject * > &  parser_map
[virtual]
 

Construct QVariant objects from property in XML format.

parser_map is provided for recursive parsing of the XML fragement.

Parameters:
prop property value as DOM sub-tree.
parser_map all the parsers registered in the system.

Implements qic::PropertyParser.

Definition at line 14 of file PropertyListParser.cpp.

References qic::PropertyParser::parseProperty().


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