# Modified by : Mikhail PONIKAROV (OCN) - autotools usage
#
-AC_INIT([Salome2 Project GUI module], [4.0.0], [webmaster.salome@opencascade.com], [salome])
+AC_INIT([Salome2 Project GUI module], [5.0.0], [webmaster.salome@opencascade.com], [salome])
AC_CONFIG_AUX_DIR(salome_adm/unix/config_files)
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
if( modList.count() > 1 )
{
- int modTBar = createTool( tr( "INF_TOOLBAR_MODULES" ) );
+ QtxToolBar* modTBar = new QtxToolBar( true, tr( "INF_TOOLBAR_MODULES" ), desk );
LightApp_ModuleAction* moduleAction =
new LightApp_ModuleAction( tr( "APP_NAME" ), defIcon, desk );
}
connect( moduleAction, SIGNAL( moduleActivated( const QString& ) ), this, SLOT( onModuleActivation( const QString& ) ) );
- createTool( registerAction( ModulesListId, moduleAction ), modTBar );
+ registerAction( ModulesListId, moduleAction );
+ modTBar->addAction( moduleAction );
}
// New window