Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berry::IPreferencesService Struct Referenceabstract

#include <berryIPreferencesService.h>

Inheritance diagram for berry::IPreferencesService:

Public Member Functions

virtual ~IPreferencesService ()
 
virtual SmartPointer< IPreferencesGetSystemPreferences ()=0
 
virtual SmartPointer< IPreferencesGetUserPreferences (const QString &name)=0
 
virtual QStringList GetUsers () const =0
 

Detailed Description

The Preferences Service.

Each bundle using this service has its own set of preference trees: one for system preferences, and one for each user.

A PreferencesService object is specific to the bundle which obtained it from the service registry. If a bundle wishes to allow another bundle to access its preferences, it should pass its PreferencesService object to that bundle.

Definition at line 44 of file berryIPreferencesService.h.

Constructor & Destructor Documentation

berry::IPreferencesService::~IPreferencesService ( )
virtual

Definition at line 21 of file berryIPreferencesService.cpp.

Member Function Documentation

virtual SmartPointer<IPreferences> berry::IPreferencesService::GetUserPreferences ( const QString &  name)
pure virtual

Returns the root node for the specified user and the calling bundle.

Parameters
nameThe user for which to return the preference root node.
Returns
The root node for the specified user and the calling bundle.
virtual QStringList berry::IPreferencesService::GetUsers ( ) const
pure virtual

Returns the names of users for which node trees exist.

Returns
The names of users for which node trees exist.

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