Back to index

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

List of all members.

Public Types

typedef QString TResult

Public Member Functions

 TGetComponentNameEvent (const QString &name, bool isUserName)
virtual void Execute ()

Public Attributes

TResult myResult
QString myName
bool myIsUserName

Detailed Description

Definition at line 245 of file SALOMEGUI_Swig.cxx.

Member Typedef Documentation

Definition at line 248 of file SALOMEGUI_Swig.cxx.

Constructor & Destructor Documentation

TGetComponentNameEvent::TGetComponentNameEvent ( const QString &  name,
bool  isUserName 
) [inline]

Definition at line 252 of file SALOMEGUI_Swig.cxx.

    : myName( name ), myIsUserName( isUserName ) {}

Member Function Documentation

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

Definition at line 254 of file SALOMEGUI_Swig.cxx.

    if ( LightApp_Application* app = getApplication() ) {
      myResult = myIsUserName ? app->moduleTitle( myName ) : app->moduleName( myName );

Here is the call graph for this function:

Member Data Documentation

Definition at line 251 of file SALOMEGUI_Swig.cxx.

Definition at line 250 of file SALOMEGUI_Swig.cxx.

Definition at line 249 of file SALOMEGUI_Swig.cxx.

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