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

MGConfDataStore Class Reference

Inherits MDataStore.

List of all members.

Public Member Functions

 MGConfDataStore (const QString &keyPath)
virtual ~MGConfDataStore ()

Protected Attributes

MGConfDataStorePrivate *const d_ptr

Detailed Description

A data store class that uses GConf as the backend.

This datastore can access all keys inside a GConf path given in the constructor. The access is limited to a single level of hierarchy, you can't access keys of any subdirectories of the path. For example, the following code will create the datastore with the GConf path /example and set a value of the key called userKey under that path:

 MGConfDataStore dataStore("/example");
 dataStore.setValue("userKey", 123);

Constructor & Destructor Documentation

MGConfDataStore::MGConfDataStore ( const QString keyPath  ) 

Constructor.

Parameters:
keyPath The gconf path in which the datastore operates.
MGConfDataStore::~MGConfDataStore (  )  [virtual]

Destructor.


Member Data Documentation

MGConfDataStorePrivate* const MGConfDataStore::d_ptr [protected]

Copyright © 2010 Nokia Corporation
MeeGo Touch