Medical Imaging Interaction Toolkit  2021.02.99-b9f34b51
Medical Imaging Interaction Toolkit
berry::IBerryPreferences Struct Reference

#include <berryIBerryPreferences.h>

Inheritance diagram for berry::IBerryPreferences:
Collaboration diagram for berry::IBerryPreferences:

Classes

class  ChangeEvent
 

Public Types

typedef berry::IBerryPreferences Self
 
typedef berry::SmartPointer< SelfPointer
 
typedef berry::SmartPointer< const SelfConstPointer
 
typedef berry::WeakPointer< SelfWeakPtr
 
typedef berry::WeakPointer< const SelfConstWeakPtr
 
- Public Types inherited from berry::IPreferences
typedef berry::IPreferences Self
 
typedef berry::SmartPointer< SelfPointer
 
typedef berry::SmartPointer< const SelfConstPointer
 
typedef berry::WeakPointer< SelfWeakPtr
 
typedef berry::WeakPointer< const SelfConstWeakPtr
 
- Public Types inherited from berry::Object
typedef Object Self
 
typedef berry::SmartPointer< SelfPointer
 
typedef berry::SmartPointer< const SelfConstPointer
 
typedef berry::WeakPointer< SelfWeakPtr
 
typedef berry::WeakPointer< const SelfConstWeakPtr
 

Public Member Functions

 ~IBerryPreferences () override
 
- Public Member Functions inherited from berry::IPreferences
 ~IPreferences () override
 
virtual void Put (const QString &key, const QString &value)=0
 
virtual QString Get (const QString &key, const QString &def) const =0
 
virtual void Remove (const QString &key)=0
 
virtual void Clear ()=0
 
virtual void PutInt (const QString &key, int value)=0
 
virtual int GetInt (const QString &key, int def) const =0
 
virtual void PutLong (const QString &key, long value)=0
 
virtual long GetLong (const QString &key, long def) const =0
 
virtual void PutBool (const QString &key, bool value)=0
 
virtual bool GetBool (const QString &key, bool def) const =0
 
virtual void PutFloat (const QString &key, float value)=0
 
virtual float GetFloat (const QString &key, float def) const =0
 
virtual void PutDouble (const QString &key, double value)=0
 
virtual double GetDouble (const QString &key, double def) const =0
 
virtual void PutByteArray (const QString &key, const QByteArray &value)=0
 
virtual QByteArray GetByteArray (const QString &key, const QByteArray &def) const =0
 
virtual QStringList Keys () const =0
 
virtual QStringList ChildrenNames () const =0
 
virtual IPreferences::Pointer Parent () const =0
 
virtual IPreferences::Pointer Node (const QString &pathName)=0
 
virtual bool NodeExists (const QString &pathName) const =0
 
virtual void RemoveNode ()=0
 
virtual QString Name () const =0
 
virtual QString AbsolutePath () const =0
 
virtual void Flush ()=0
 
virtual void Sync ()=0
 
virtual void BlockSignals (bool block)=0
 
- Public Member Functions inherited from berry::Object
virtual QString GetClassName () const
 
virtual Reflection::TypeInfo GetTypeInfo () const
 
virtual QList< Reflection::TypeInfoGetSuperclasses () const
 
virtual void Delete ()
 
QDebug Print (QDebug os, Indent Indent=0) const
 
virtual QString ToString () const
 
virtual uint HashCode () const
 
virtual bool operator< (const Object *) const
 
void Register () const
 
void UnRegister (bool del=true) const
 
int GetReferenceCount () const
 
void SetReferenceCount (int)
 
void AddDestroyListener (const MessageAbstractDelegate<> &delegate) const
 
void RemoveDestroyListener (const MessageAbstractDelegate<> &delegate) const
 
virtual bool operator== (const Object *) const
 

Static Public Member Functions

static const char * GetStaticClassName ()
 
- Static Public Member Functions inherited from berry::IPreferences
static const char * GetStaticClassName ()
 
- Static Public Member Functions inherited from berry::Object
static const char * GetStaticClassName ()
 
static Reflection::TypeInfo GetStaticTypeInfo ()
 
static QList< Reflection::TypeInfoGetStaticSuperclasses ()
 

Public Attributes

berry::Message1< const IBerryPreferences * > OnChanged
 
berry::Message1< const ChangeEvent & > OnPropertyChanged
 

Additional Inherited Members

- Protected Member Functions inherited from berry::Object
 Object ()
 
virtual ~Object ()
 
virtual QDebug PrintSelf (QDebug os, Indent indent) const
 
virtual QDebug PrintHeader (QDebug os, Indent indent) const
 
virtual QDebug PrintTrailer (QDebug os, Indent indent) const
 
- Protected Attributes inherited from berry::Object
QAtomicInt m_ReferenceCount
 
QMutex m_ReferenceCountLock
 

Detailed Description

Like IEclipsePreferences an extension to the osgi-IPreferences to send out events when nodes or values changed in a node.

Definition at line 28 of file berryIBerryPreferences.h.

Member Typedef Documentation

◆ ConstPointer

◆ ConstWeakPtr

◆ Pointer

◆ Self

◆ WeakPtr

Constructor & Destructor Documentation

◆ ~IBerryPreferences()

berry::IBerryPreferences::~IBerryPreferences ( )
override

Member Function Documentation

◆ GetStaticClassName()

static const char* berry::IBerryPreferences::GetStaticClassName ( )
inlinestatic

Definition at line 30 of file berryIBerryPreferences.h.

Member Data Documentation

◆ OnChanged

berry::Message1<const IBerryPreferences*> berry::IBerryPreferences::OnChanged

Invoked when this node was changed, that is when a property was changed or when a new child node was inserted.

Definition at line 55 of file berryIBerryPreferences.h.

◆ OnPropertyChanged

berry::Message1<const ChangeEvent&> berry::IBerryPreferences::OnPropertyChanged

Adds a property change listener to this preferences node. The listener will be informed about property changes of this preference node, but not about changes to child nodes.

Definition at line 62 of file berryIBerryPreferences.h.


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