From: nds Date: Thu, 3 Nov 2005 07:12:56 +0000 (+0000) Subject: Return QString with iconName() for module X-Git-Tag: V3_1_0a3~85 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0c5adf0ad8c447386aca8728468348819e1ae3fd;p=modules%2Fgui.git Return QString with iconName() for module --- diff --git a/src/CAM/CAM_Module.cxx b/src/CAM/CAM_Module.cxx index 733afa4dc..4e18bff8f 100755 --- a/src/CAM/CAM_Module.cxx +++ b/src/CAM/CAM_Module.cxx @@ -74,6 +74,12 @@ QPixmap CAM_Module::moduleIcon() const return myIcon; } +/*!\retval Module icon name.*/ +QString CAM_Module::iconName() const +{ + return ""; +} + /*!\retval Module name.*/ QString CAM_Module::moduleName() const { diff --git a/src/CAM/CAM_Module.h b/src/CAM/CAM_Module.h index 328d2500a..ce051a993 100755 --- a/src/CAM/CAM_Module.h +++ b/src/CAM/CAM_Module.h @@ -6,6 +6,7 @@ #include #include #include +#include class QAction; class SUIT_Study; @@ -39,6 +40,8 @@ public: CAM_DataModel* dataModel() const; CAM_Application* application() const; + virtual QString iconName() const; + virtual void contextMenuPopup( const QString&, QPopupMenu*, QString& title ) {}; virtual void updateCommandsStatus() {};