Back to index

salome-gui  6.5.0
Public Member Functions | Public Attributes
ActionMgrLocker Class Reference
Collaboration diagram for ActionMgrLocker:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ActionMgrLocker (QtxActionMgr *m, bool use)
 ~ActionMgrLocker ()

Public Attributes

QtxActionMgrmyMgr
bool myUseLock
bool myUpdEnabled

Detailed Description

Definition at line 44 of file CAM_Module.cxx.


Constructor & Destructor Documentation

ActionMgrLocker::ActionMgrLocker ( QtxActionMgr m,
bool  use 
) [inline]

Definition at line 47 of file CAM_Module.cxx.

                                               : myMgr( m ), myUseLock( use )
  {
    if ( myUseLock ) {
      myUpdEnabled = myMgr->isUpdatesEnabled();
      myMgr->setUpdatesEnabled( false );
    }
  }

Definition at line 54 of file CAM_Module.cxx.

  {
    if ( myUseLock ) {
      myMgr->setUpdatesEnabled( myUpdEnabled );
      //myMgr->update();
    }
  }

Member Data Documentation

Definition at line 62 of file CAM_Module.cxx.

Definition at line 64 of file CAM_Module.cxx.

Definition at line 63 of file CAM_Module.cxx.


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