// Constructor
cppcomposGUI::cppcomposGUI() :
- SalomeApp_Module( "cppcompos" ) // default name
+ LightApp_Module( "cppcompos" ) // default name
{
}
void cppcomposGUI::initialize( CAM_Application* app )
{
- SalomeApp_Module::initialize( app );
+ LightApp_Module::initialize( app );
QWidget* aParent = application()->desktop();
SUIT_ResourceMgr* aResourceMgr = app->resourceMgr();
// theMap.insert( SalomeApp_Application::WT_PyConsole, Qt::BottomDockWidgetArea );
}
-// Module's engine IOR
-QString cppcomposGUI::engineIOR() const
-{
- return "Fake";
-}
-
// Module's activation
bool cppcomposGUI::activateModule( SUIT_Study* theStudy )
{
- bool bOk = SalomeApp_Module::activateModule( theStudy );
+ bool bOk = LightApp_Module::activateModule( theStudy );
if(bOk)
{
_myWidget->setVisible(false);
_myViewManager->setShown(false);
- return SalomeApp_Module::deactivateModule( theStudy );
+ return LightApp_Module::deactivateModule( theStudy );
}
void cppcomposGUI::onWindowActivated( SUIT_ViewWindow* svw)
#ifndef _cppcomposGUI_H_
#define _cppcomposGUI_H_
-#include <SalomeApp_Module.h>
+#include <LightApp_Module.h>
#include "ui_demo.h"
class SUIT_ViewManager;
class SUIT_ViewWindow;
-class cppcomposGUI: public SalomeApp_Module
+class cppcomposGUI: public LightApp_Module
{
Q_OBJECT
public:
cppcomposGUI();
void initialize( CAM_Application* );
- QString engineIOR() const;
virtual void windows( QMap<int, int>& theMap ) const;
public slots: