From 0c5adf0ad8c447386aca8728468348819e1ae3fd Mon Sep 17 00:00:00 2001 From: nds Date: Thu, 3 Nov 2005 07:12:56 +0000 Subject: [PATCH] Return QString with iconName() for module --- src/CAM/CAM_Module.cxx | 6 ++++++ src/CAM/CAM_Module.h | 3 +++ 2 files changed, 9 insertions(+) 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() {}; -- 2.39.2