if (anApp)
{
connect(anApp, SIGNAL(preferenceResetToDefaults()), this, SLOT(onDefaultPreferences()));
- connect(anApp, SIGNAL(abortAllOperations( bool& )), this, SLOT(onAbortAllOperations( bool& )));
}
}
}
}
-void NewGeom_Module::onAbortAllOperations( bool& isNextOperationAllowed )
+bool NewGeom_Module::abortAllOperations()
{
- isNextOperationAllowed = workshop()->operationMgr()->abortAllOperations();
+ return workshop()->operationMgr()->abortAllOperations();
}
/// Obtains the current application and updates its actions
void onUpdateCommandStatus();
- void onAbortAllOperations( bool& );
-
protected:
/// Create data model
CAM_DataModel* createDataModel();
/// Create popup menu manager
virtual QtxPopupMgr* popupMgr();
+ virtual bool abortAllOperations();
+
private:
/// Create selector for OCC Viewer
/// \param theMgr view manager