Back to index

salome-gui  6.5.0
Public Member Functions | Public Attributes
TSetNameEvent Class Reference

SalomePyQt::setName(obj,name) Set object name. More...

Inheritance diagram for TSetNameEvent:
Inheritance graph
[legend]
Collaboration diagram for TSetNameEvent:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TSetNameEvent (const QString &obj, const QString &name)
virtual void Execute ()

Public Attributes

QString myObj
QString myName

Detailed Description

SalomePyQt::setName(obj,name) Set object name.

Definition at line 2982 of file SalomePyQt.cxx.


Constructor & Destructor Documentation

TSetNameEvent::TSetNameEvent ( const QString &  obj,
const QString &  name 
) [inline]

Definition at line 2987 of file SalomePyQt.cxx.

                                      : myObj(obj),
                                         myName(name) {}

Member Function Documentation

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

Definition at line 2990 of file SalomePyQt.cxx.

                         {
    SALOME_PYQT_ModuleLight* module = getActiveModule();
    if ( module )
      module->setName(myObj,myName);
  }

Here is the call graph for this function:


Member Data Documentation

Definition at line 2986 of file SalomePyQt.cxx.

Definition at line 2985 of file SalomePyQt.cxx.


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