Back to index

salome-gui  6.5.0
Public Types | Public Member Functions | Public Attributes
TAddPrefParamEvent Class Reference
Inheritance diagram for TAddPrefParamEvent:
Inheritance graph
Collaboration diagram for TAddPrefParamEvent:
Collaboration graph

List of all members.

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 ()

Public Attributes

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

Detailed Description

Definition at line 2027 of file SalomePyQt.cxx.

Member Typedef Documentation

Definition at line 2030 of file SalomePyQt.cxx.

Constructor & Destructor Documentation

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

Definition at line 2037 of file SalomePyQt.cxx.

    : myResult( -1 ),
      myLabel( label ), myPId( pId ), myType( type ), 
      mySection( section ), myParam ( param ) {}

Member Function Documentation

virtual void TAddPrefParamEvent::Execute ( ) [inline, virtual]

Definition at line 2044 of file SalomePyQt.cxx.

    SALOME_PYQT_ModuleLight* module = getActiveModule();
    if ( module )
      myResult = module->addPreference( myLabel, myPId, myType, mySection, myParam );

Here is the call graph for this function:

Member Data Documentation

Definition at line 2032 of file SalomePyQt.cxx.

Definition at line 2036 of file SalomePyQt.cxx.

Definition at line 2033 of file SalomePyQt.cxx.

Definition at line 2031 of file SalomePyQt.cxx.

Definition at line 2035 of file SalomePyQt.cxx.

Definition at line 2034 of file SalomePyQt.cxx.

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