Back to index

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

List of all members.

Public Types

typedef int TResult

Public Member Functions

 TAddGlobalPrefEvent (const QString &label)
virtual void Execute ()

Public Attributes

TResult myResult
QString myLabel

Detailed Description

Definition at line 1968 of file SalomePyQt.cxx.

Member Typedef Documentation

Definition at line 1971 of file SalomePyQt.cxx.

Constructor & Destructor Documentation

TAddGlobalPrefEvent::TAddGlobalPrefEvent ( const QString &  label) [inline]

Definition at line 1974 of file SalomePyQt.cxx.

    : myResult( -1 ), myLabel( label ) {}

Member Function Documentation

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

Definition at line 1976 of file SalomePyQt.cxx.

    SALOME_PYQT_ModuleLight* module = getActiveModule();
    if ( module )
      myResult = module->addGlobalPreference( myLabel );

Here is the call graph for this function:

Member Data Documentation

Definition at line 1973 of file SalomePyQt.cxx.

Definition at line 1972 of file SalomePyQt.cxx.

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