Back to index

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

List of all members.

Public Types

typedef int TResult

Public Member Functions

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

Public Attributes

TResult myResult
QString myLabel

Detailed Description

Definition at line 1995 of file SalomePyQt.cxx.

Member Typedef Documentation

Definition at line 1998 of file SalomePyQt.cxx.

Constructor & Destructor Documentation

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

Definition at line 2001 of file SalomePyQt.cxx.

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

Member Function Documentation

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

Definition at line 2003 of file SalomePyQt.cxx.

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

Here is the call graph for this function:

Member Data Documentation

Definition at line 2000 of file SalomePyQt.cxx.

Definition at line 1999 of file SalomePyQt.cxx.

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