Medical Imaging Interaction Toolkit  2018.4.99-3e3f1a6e
Medical Imaging Interaction Toolkit
berry::IBerryPreferencesService Struct Referenceabstract

#include <berryIBerryPreferencesService.h>

Inheritance diagram for berry::IBerryPreferencesService:
Collaboration diagram for berry::IBerryPreferencesService:

Public Member Functions

virtual void ImportPreferences (const QString &f, const QString &name="")=0
 
virtual void ExportPreferences (const QString &f, const QString &name="")=0
 
- Public Member Functions inherited from berry::IPreferencesService
virtual ~IPreferencesService ()
 
virtual SmartPointer< IPreferencesGetSystemPreferences ()=0
 
virtual SmartPointer< IPreferencesGetUserPreferences (const QString &name)=0
 
virtual QStringList GetUsers () const =0
 

Detailed Description

Definition at line 20 of file berryIBerryPreferencesService.h.

Member Function Documentation

◆ ExportPreferences()

virtual void berry::IBerryPreferencesService::ExportPreferences ( const QString &  f,
const QString &  name = "" 
)
pure virtual

Exports the current system preferences to the given file.

Referenced by QmitkPreferencesDialog::OnExportButtonClicked().

◆ ImportPreferences()

virtual void berry::IBerryPreferencesService::ImportPreferences ( const QString &  f,
const QString &  name = "" 
)
pure virtual

Try to import the prefs from the given file. Existing properties will be overridden! Returns true if the preferences could be imported.

Referenced by QmitkPreferencesDialog::OnImportButtonClicked().


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