From: nds Date: Wed, 28 Sep 2005 08:14:37 +0000 (+0000) Subject: CAM_Module can return iconName() X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3cfe69d0476ae5c49a1ee77a0f6ad44cc443aa69;p=modules%2Fgui.git CAM_Module can return iconName() --- diff --git a/src/CAM/CAM_Module.cxx b/src/CAM/CAM_Module.cxx index 46ac007ee..90b48bd66 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 feff5c1f4..ab29b3c48 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; @@ -38,6 +39,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() {};