From 3cfe69d0476ae5c49a1ee77a0f6ad44cc443aa69 Mon Sep 17 00:00:00 2001 From: nds Date: Wed, 28 Sep 2005 08:14:37 +0000 Subject: [PATCH] CAM_Module can return iconName() --- 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 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() {}; -- 2.39.2