Version: 9.12.0
TAddPrefParamEvent Class Reference
Inheritance diagram for TAddPrefParamEvent:
Inheritance graph

Public Types

typedef int TResult
 

Public Member Functions

 TAddPrefParamEvent (const QString &label, const int pId, const int type, const QString &section, const QString &param)
 
virtual void Execute ()
 This method should be redefined in the successor classes to do real work. More...
 
- Public Member Functions inherited from SALOME_Event
 SALOME_Event ()
 Constructor. More...
 
virtual ~SALOME_Event ()
 Destructor. More...
 
void ExecutePostedEvent ()
 This method should be called by the main GUI thread in order to execute the code specific for this event and finally to inform the calling thread that the event has been processed waking it up with help of the semaphore . More...
 
void process ()
 Post the event and wait for its completion. process() should be called from a secondary thread only. More...
 

Public Attributes

TResult myResult
 
QString myLabel
 
int myPId
 
int myType
 
QString mySection
 
QString myParam
 

Additional Inherited Members

- Static Public Member Functions inherited from SALOME_Event
static bool IsSessionThread ()
 Check if the processing is in the main application thread. More...
 
- Protected Member Functions inherited from SALOME_Event
void processed ()
 Use this method to signal that this event has been processed. More...
 
- Static Protected Member Functions inherited from SALOME_Event
static void GetSessionThread ()
 Initialize event mechanism. More...
 

Member Typedef Documentation

◆ TResult

Constructor & Destructor Documentation

◆ TAddPrefParamEvent()

TAddPrefParamEvent::TAddPrefParamEvent ( const QString &  label,
const int  pId,
const int  type,
const QString &  section,
const QString &  param 
)
inline

Member Function Documentation

◆ Execute()

virtual void TAddPrefParamEvent::Execute ( )
inlinevirtual

This method should be redefined in the successor classes to do real work.

Implements SALOME_Event.

References LightApp_Preferences::addPreference(), LightApp_Module::getApp(), CAM_Module::moduleName(), myLabel, myParam, myPId, myResult, mySection, myType, and LightApp_Application::preferences().

Member Data Documentation

◆ myLabel

QString TAddPrefParamEvent::myLabel

◆ myParam

QString TAddPrefParamEvent::myParam

◆ myPId

int TAddPrefParamEvent::myPId

◆ myResult

TResult TAddPrefParamEvent::myResult

◆ mySection

QString TAddPrefParamEvent::mySection

◆ myType

int TAddPrefParamEvent::myType

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