Home · All Classes · Main Classes · Deprecated
Public Member Functions | Protected Attributes

MSettingsLanguageParser Class Reference

Parser class for the settings language. More...

List of all members.

Public Member Functions

 MSettingsLanguageParser ()
virtual ~MSettingsLanguageParser ()
bool readFrom (QIODevice &device)
MSettingsLanguageBinarycreateSettingsBinary ()

Protected Attributes

MSettingsLanguageParserPrivate
*const 
d_ptr

Detailed Description

Parser class for the settings language.

This class can be used to read in a settings language description and transfer it into a binary representation.


Constructor & Destructor Documentation

MSettingsLanguageParser::MSettingsLanguageParser (  ) 

Constructs a parser.

MSettingsLanguageParser::~MSettingsLanguageParser (  )  [virtual]

Destructor.


Member Function Documentation

MSettingsLanguageBinary * MSettingsLanguageParser::createSettingsBinary (  ) 

Constructs and returns a settings binary representation from the parsed language source. Returns NULL on error.

Note:
The ownership of the returned binary is transfered to the caller.
Returns:
a settigns binary representation.
bool MSettingsLanguageParser::readFrom ( QIODevice device  ) 

Reads an XML file from the provided device. Returns true on success, false on failure.

Parameters:
device the device to read from.

Member Data Documentation

MSettingsLanguageParserPrivate* const MSettingsLanguageParser::d_ptr [protected]

A pointer to the private class.


Copyright © 2010 Nokia Corporation
MeeGo Touch